Quantcast
Channel: Cemetech
Viewing all articles
Browse latest Browse all 75740

General Programming :: RE: TheMazeGame (a precursor to a roguelike) in Axe

$
0
0
Author: Compynerd255
Posted: 29 Nov 2012 11:13:30 pm (GMT -5)

You can't actually give Return an argument parameter - only an If or !If conditional (and the Return doesn't even have a space anyway). The correct usage of Return for that purpose is:

Code:
{r2*12+r1+GDB0}
Return

This will put the value of the tilemap at that spot into HL (the "running total" or "Ans" value that Axe uses and virtually every statement - not just every line) effects.

But to answer your particular problem, r1 and r2 are the Polar functions (Vars menu -> Y-VARS -> 3: Polar), not an "r" followed by a 2.
_________________
Visit Betafreak Games: http://www.betafreak.com
Help Me Pay for College:
- Sign up for Fastweb through my referal link!


Viewing all articles
Browse latest Browse all 75740

Latest Images

Trending Articles



Latest Images