"What's the command that does X" questions Post them here.
#151
Posted 15 September 2007 - 05:33 AM
#152
Posted 15 September 2007 - 10:50 AM
<Terryn> You can't do X.
<RyanThunder> Yeah, but how do I do X?

<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
#154
Posted 15 September 2007 - 10:59 PM
you have to be on drugs or asleep or something. this just isn't you!
set "maxlives" 7 : "lifechex" wait 1 if "lives" <= "maxlives" "lifechex" set "lives" "maxlives" goto "lifechex"
RyanThunder don't let his grating nuances get all over your vac!
Also, give yourself a cool member title, you can when you have 100 posts.
This post has been edited by CJA: 15 September 2007 - 11:00 PM
#155
Posted 15 September 2007 - 11:01 PM
"Any alternatives besides having the global robot check with a max lives counter?"
(i.e. the code you just wrote)
Why does he want an alternative to that? What's wrong with that?
The only alternative would clearly have to be functionality built into MZX--which, as Terryn already said, didn't exist.

<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
#157
Posted 16 September 2007 - 03:39 AM
#158
Posted 28 October 2007 - 03:10 PM
Fsleeper has been happy lately. He was comforted by a lovely waterfall lately. He slept without a proper room. He had a pretty wonderful meal lately. He talked with a friend lately. He was nauseated by the sun lately.
He is a citizen of the United States of America
Fsleeper likes Steel, Diamonds, mirocline, the color electric blue, pizza, and Doctor Pepper
He lives life at a leisurely pace. He is not a risk taker. He finds helping others rewarding. He is slow to anger. He has an incredibly calm demeanor. He is a pessimist. He often feels discouraged. He has a profound sense of duty and obligation. He likes to try new things. He enjoys the company of others. He has a fertile imagination. He is entranced by riddles and puzzles and loves to debate. He is disorganized. He rarely completes tasks and is often overcome by distractions. He can handle stress. He very rarely does more work then neccessary. He is not easily moved to pity. He often does the first thing that comes to mind. He needs caffiene to get through the day.
#159
Posted 28 October 2007 - 04:10 PM
FSleeper, on Oct 28 2007, 08:10 AM, said:
: "shot" inc "counter" "x" * "you shot me, you distinguished black fellow D:>" end
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#160
Posted 28 October 2007 - 04:30 PM
Fsleeper has been happy lately. He was comforted by a lovely waterfall lately. He slept without a proper room. He had a pretty wonderful meal lately. He talked with a friend lately. He was nauseated by the sun lately.
He is a citizen of the United States of America
Fsleeper likes Steel, Diamonds, mirocline, the color electric blue, pizza, and Doctor Pepper
He lives life at a leisurely pace. He is not a risk taker. He finds helping others rewarding. He is slow to anger. He has an incredibly calm demeanor. He is a pessimist. He often feels discouraged. He has a profound sense of duty and obligation. He likes to try new things. He enjoys the company of others. He has a fertile imagination. He is entranced by riddles and puzzles and loves to debate. He is disorganized. He rarely completes tasks and is often overcome by distractions. He can handle stress. He very rarely does more work then neccessary. He is not easily moved to pity. He often does the first thing that comes to mind. He needs caffiene to get through the day.
#161
Posted 04 December 2007 - 02:07 AM
"I'm a victim of circumstance!" - Curly
"I reject your reality and substitute my own." - Adam Savage
"Why don't you cry me a river, build a bridge, and get over it."
"I see you're drinking 1%, is that because you think you're fat?" - Napoleon Dynamite
"War is Groovy" - some violent hippie
I have about 30 unfinished mzx games, and I plan to keep it that way.
#162
Posted 04 December 2007 - 02:27 AM
it's like a comment line with an @ before the string
This post has been edited by Hoof: 04 December 2007 - 02:28 AM
#163
Posted 04 December 2007 - 02:31 AM

"I'm a victim of circumstance!" - Curly
"I reject your reality and substitute my own." - Adam Savage
"Why don't you cry me a river, build a bridge, and get over it."
"I see you're drinking 1%, is that because you think you're fat?" - Napoleon Dynamite
"War is Groovy" - some violent hippie
I have about 30 unfinished mzx games, and I plan to keep it that way.
#164
Posted 16 February 2008 - 02:08 AM
#165
Posted 16 February 2008 - 03:18 AM
MZX Guy, on Feb 15 2008, 07:08 PM, said:
: "l" wait 1 set "frame" to "('frame'+1%4)" set "pressed" to "('key72'o'key75'o'key77'o'key80')" goto "frame_&playerfacedir&_('frame'*'pressed')" :frame_0_0 :frame_0_2 . "facing north, standing frame/walking frame 0 and 2 char edit 'X' x x x x x x x x x x x x x x goto l :frame_0_1 . "facing north, walking frame 1 (left foot forward, right foot back) char edit 'X' x x x x x x x x x x x x x x goto l :frame_0_1 . "facing north, walking frame 3 (right foot forward, left foot back) char edit 'X' x x x x x x x x x x x x x x goto l .do the same for the other facedirs :P
May be confusing for a beginner, though.
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#166
Posted 29 February 2008 - 08:18 PM
#167
Posted 29 February 2008 - 09:25 PM
: "TOUCH" set "(name of file to save to).sav" "save_game"
This will save a file of the game, and you can load it up again with:
set "(name of file saved).sav" "load_game"
This post has been edited by FuriKuri: 29 February 2008 - 09:25 PM

Currently working on: Relic
Fire Emblem: Ethereal Guardian (taking a break for now)
Currently working on: AI - how opposing units decide who to attack/where to run <-- need help with
#169
Posted 29 June 2008 - 09:44 PM
#170
Posted 30 June 2008 - 09:34 AM
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111
#171
Posted 30 June 2008 - 07:10 PM
Terryn, on Jun 30 2008, 03:34 AM, said:
How didn't I think of this

#172
Posted 25 August 2008 - 09:24 AM
So far I've had to do this:
copy bock #vx #vy w h bx by
set sprn_refx bx
set sprn_refy by
set sprn_width w
set sprn_height h
put c?? Sprite pn posx posy
There's got to be a better way!
#173
Posted 25 August 2008 - 01:10 PM
"Ogres are not like parfaits. Ogres are like onions."
..Ignorance is to be unaware of the truth.
....Incompetence is to be unable to grasp the truth.
......And escape is to run away from the truth.
It is useless to run, since the truth is right next to you.
-Wervyn
#175
Posted 01 September 2008 - 09:05 PM
"And it also makes a great paperweight."
..Ignorance is to be unaware of the truth.
....Incompetence is to be unable to grasp the truth.
......And escape is to run away from the truth.
It is useless to run, since the truth is right next to you.
-Wervyn
#176
Posted 26 November 2008 - 06:13 PM
#178
Posted 30 November 2008 - 05:46 AM
char 32 which are the space character are always ignored when copying the sprite graphic from the reference location to the destination, if you modify the reference location the sprite graphic will be altered. I don't know enough about your problem to be of any more help.
As for doing this in SMZX those rules are the same, however making graphics in SMZX is a bit more involved than normal mzx graphics... I suggest you first practice working with sprites and SMZX independently at first.
#179
Posted 08 January 2009 - 11:10 AM
...copyrobot. Because it simply turns Robot A into Robot B. I don't want that.
...duplicate self. I don't want another copy of Demon. I want a copy of Fireball.
...copy # # # #. Well, actually, this works for me, but the Megazeux manual said this is not recommended since it slows down the game.
I've looked at Nytar's Demon Earth game and found that projectile Robots are created using copyrobot, which leaves me scratching my head. I'm afraid I'm stuck. What command should I use?
Great Knight
#180
Posted 08 January 2009 - 02:09 PM
:demon (insert all your demon code here) if blocked east goto "demon" duplicate self east send east "fireballeast" wait 1 goto "demon" :fireballeast walk east
that's a simple example, but the basic gist is that the robot has both the demon code and the fireball code. when you want it to fire, make sure that it's not blocked and then duplicate the robot in that direction. then you just send the newly-created duplicate to the fireball label. have one fireball label for each direction and there you have it.
make sense?
<pyro1588> "welcome to australia, can i help you find what you're looking for?"
<Tox> pyro1588, I'm giving you the most reproachful of glares right now.
--------
Go show those nutty Koreans what us crazy Europeans are made of pirate.gif pirate.gif pirate.gif - Saike
<exophase> The old Commodore strategy of, "Go friggin' bankrupt!"
<wervyn> Go away! I'm writing the same engine I always do!