Sprite SNOW engine or atleast over the overlay
#1
Posted 24 September 2006 - 09:59 AM
so now i have a few questions.
1. are spritea on the same layer as the overlay?
2. could anyone give me an example engine?
#2
Posted 24 September 2006 - 01:20 PM
2. ask lancer
This post has been edited by Guy: 24 September 2006 - 01:21 PM
#3
Posted 24 September 2006 - 01:42 PM
Or if you want, use the start of Weirdland 6. I ripped that engine off several times =)
#4
Posted 24 September 2006 - 03:41 PM
Esdemo1, on Sep 24 2006, 01:42 PM, said:
its a missing game. so i cant look at it for a reference not to mention ripping the engine.
This post has been edited by merder: 24 September 2006 - 03:42 PM
#6
Posted 24 September 2006 - 09:16 PM
#7
Posted 25 September 2006 - 01:50 AM
http://www.digitalmz...?showtopic=3255
EDOT: It looks like the link is dead though. Get to work Es.
This post has been edited by Goshi: 25 September 2006 - 01:50 AM
#8
Posted 25 September 2006 - 06:16 PM
char edit '' to 1 1 3 2 6 4 12 8 8 0 0 0 0 0
char edit '' to 0 0 2 2 6 4 46 28 8 54 0 0 0 0
char edit '' to 0 0 0 0 4 4 111 28 8 54 65 0 0 0
char edit '' to 0 0 0 0 0 0 99 0 0 34 65 0 0 0
set "commands" to "(-1>>1)"
set "drops" to 100
. "number of drops"
set "vch0,0" to 128
set "vco0,0" to 11
set "vch1,0" to 129
set "vco1,0" to 11
set "vch2,0" to 130
set "vco2,0" to 11
set "vch3,0" to 131
set "vco3,0" to 11
loop start
set "spr&loopcount&_refx" to 0
set "spr&loopcount&_refy" to 0
set "spr&loopcount&_width" to 1
set "spr&loopcount&_height" to 1
set "spr&loopcount&_overlay" to 1
set "spr&loopcount&_vlayer" to 1
set "spr&loopcount&_x" to random 0 to 79
inc "spr&loopcount&_x" by "scrolledx"
set "spr&loopcount&_y" to random 0 to 24
inc "spr&loopcount&_y" by "scrolledy"
set "spr&loopcount&_cwidth" to random 5 to 10
. "the distance it will fall"
put c?? Sprite "loopcount" at "spr&loopcount&_x" "spr&loopcount&_y"
loop for "drops"
: "do"
wait for 1
loop start
dec "spr&loopcount&_x" by "('spr('loopcount')_cwidth'>=3)"
inc "spr&loopcount&_y" by "('spr('loopcount')_cwidth'>=3)"
dec "spr&loopcount&_cwidth" by 1
inc "spr&loopcount&_refx" by "('spr('loopcount')_cwidth'<4)"
if "spr&loopcount&_cwidth" = 0 then "#killdrop"
loop for "drops"
goto "do"
: "#killdrop"
set "spr&loopcount&_off" to 1
set "spr&loopcount&_refx" to 0
set "spr&loopcount&_x" to random 0 to 79
inc "spr&loopcount&_x" by "scrolledx"
set "spr&loopcount&_y" to random 0 to 24
inc "spr&loopcount&_y" by "scrolledy"
set "spr&loopcount&_cwidth" to random 5 to 10
put c?? Sprite "loopcount" at "spr&loopcount&_x" "spr&loopcount&_y"
goto "#return"edit: fixed for scrolling
This post has been edited by Pyro1588: 25 September 2006 - 06:24 PM
<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!
#9
Posted 25 September 2006 - 10:54 PM

koji: SCRUMTRELLESCENT!
#10
Posted 26 September 2006 - 12:16 AM
(hee hee)
#11
Posted 26 September 2006 - 12:18 AM
Bramble, on Sep 25 2006, 07:16 PM, said:
(hee hee)
hahaha that's what I do.
EDIT: Wow... Pyro your engine crashed my MZX haha weird. Think its the multible chars or something. Least it worked for others.
EDIT (2): Actually it has nothing to do with the char edit command. Strange enough, after I removed those lines of code it still crashed. Wonder if has something to do with the clipboard saving or maybe its a problem with MZX. But if that were true Chezzy wouldn't of been able to test it.
GASP! I wonder what it could be!
This post has been edited by T-bone6: 26 September 2006 - 12:27 AM
#12
Posted 26 September 2006 - 06:01 PM
[edit]i tried the engine but my robotics editor did't allow the multi char editting commands(for the rest it woked fine).
This post has been edited by merder: 26 September 2006 - 06:10 PM

Help










