Announcing: DIABLO2D:LOD in ASM!
Moderator: MaxCoderz Staff
-
- Calc Master
- Posts: 1089
- Joined: Fri 17 Dec, 2004 9:53 am
lol
Man, this looks like a great project, but 1. this needs to be real-time!
2. i dont think u'll get far, as ur even a bigger n00b at asm than me
2. i dont think u'll get far, as ur even a bigger n00b at asm than me
"this needs to be real-time! "-what does that mean?
anyway FIRST LAYOUT(to be changed)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
TASM compiler header.
Clearscreen, Runthingy off
Start loop MAIN
it checks for whetever the person should go left right up down
and compares the x and y cordinates. if they equal to predetermined numbers goto EVENT loops
check if coord are off the screen then change map#
Check if exp>needed if yes goto GetUpExp
Also start RANDOM to determine if you have been attacked. if did goto Fight
Start loop Display
This is called to
1.ClearScreen
2. call the pic that is gonna be correspand to mapW variable. So if mapW is 1, its gonna call map1, and so on
3. Put the person where he is suppos to be.
4.goto main
start loop FIGHT
1.clearscreen
2.display monster from picture.
3. check if the user presses button to indicate fight/run/magic/item
4. after he presses, him and monster loses health.
5.checks if user or monster health is 0. if so loop dead or win
6.goto Fight
start Loop Win
1. Random money, Random expierence.
2.gotomain
start Loop DEAD
1.Ohno!!! YOU LOSE!!!!
2. ret
start loopGetUpExp
1. Print YEAH!!!!
2. YOU GOT + exp + mon
3. add 1 to level
4.goto main
start loop EVENT1
1give exp
2. change coord
3.goto main
start loop EVENT2
1.give $$$
2.change coord
3.goto main
start loop EVENT3
1. you win
declare variables
declare pictures
.end
.end
anyway FIRST LAYOUT(to be changed)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
TASM compiler header.
Clearscreen, Runthingy off
Start loop MAIN
it checks for whetever the person should go left right up down
and compares the x and y cordinates. if they equal to predetermined numbers goto EVENT loops
check if coord are off the screen then change map#
Check if exp>needed if yes goto GetUpExp
Also start RANDOM to determine if you have been attacked. if did goto Fight
Start loop Display
This is called to
1.ClearScreen
2. call the pic that is gonna be correspand to mapW variable. So if mapW is 1, its gonna call map1, and so on
3. Put the person where he is suppos to be.
4.goto main
start loop FIGHT
1.clearscreen
2.display monster from picture.
3. check if the user presses button to indicate fight/run/magic/item
4. after he presses, him and monster loses health.
5.checks if user or monster health is 0. if so loop dead or win
6.goto Fight
start Loop Win
1. Random money, Random expierence.
2.gotomain
start Loop DEAD
1.Ohno!!! YOU LOSE!!!!
2. ret
start loopGetUpExp
1. Print YEAH!!!!
2. YOU GOT + exp + mon
3. add 1 to level
4.goto main
start loop EVENT1
1give exp
2. change coord
3.goto main
start loop EVENT2
1.give $$$
2.change coord
3.goto main
start loop EVENT3
1. you win
declare variables
declare pictures
.end
.end
- Madskillz
- Calc Wizard
- Posts: 745
- Joined: Fri 17 Dec, 2004 10:22 pm
- Location: Wandering around in the Jungle...
- Contact:
Yes, good luck on your venture into the world of ASM...but a word from the wise, start out small and work up to the big games! Trust me, this will help you in the long run. I am all for new, fresh ideas coming out...I won't put you down, because your new or anything of the sort. For all I know, you may be like Tr1p and pick this stuff up super fast!
Also, have you gone through ASM in 28 days yet? I would go through that first if you haven't already. Again, good luck, just don't rush this. (Getting it done by next month for example) You can pitch that out the window. If you wanna make a good game, that is fun to play, and not like some crappy BASIC menu type game, take your time. There are plenty of crappy ASM games at Ticalc.org, we don't need one more!
Also, have you gone through ASM in 28 days yet? I would go through that first if you haven't already. Again, good luck, just don't rush this. (Getting it done by next month for example) You can pitch that out the window. If you wanna make a good game, that is fun to play, and not like some crappy BASIC menu type game, take your time. There are plenty of crappy ASM games at Ticalc.org, we don't need one more!
The Revolution is here...
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
WOW! you're really devoted. I ususally study asm about 14hrs a week :P. I be a junior and I am in the middle of the big junior research project that is basically worth my grade this quarter, so I don't have too much time. Soon, I'll bring it to school though and start working on it during adv. comp. topics :D. This will be a great game, almost no matter what you do.
bananas... o.o
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.
badly....coming home at 10pm and working for 1 hour
i remember i used matrices and sprites in BASICS, but those were sloooooooow
googling tilemaps
i cant get the image to load!!! any image!!!
even this:
ld hl,Splash
ld de,PlotsScreen
call DispRLE
Splash:
.db $91,$FF,$30,$F8,$91,$00,$04,$01,$91,$FF,$1E,$80
.db $91,$00,$06,$03,$91,$FF,$10,$80,$91,$00,$08,$1F
.........
i remember i used matrices and sprites in BASICS, but those were sloooooooow
googling tilemaps
i cant get the image to load!!! any image!!!
even this:
ld hl,Splash
ld de,PlotsScreen
call DispRLE
Splash:
.db $91,$FF,$30,$F8,$91,$00,$04,$01,$91,$FF,$1E,$80
.db $91,$00,$06,$03,$91,$FF,$10,$80,$91,$00,$08,$1F
.........
Life is getting better.
- Shadow Phoenix
- Calc Guru
- Posts: 835
- Joined: Mon 03 Jan, 2005 7:54 pm
- Location: out there. seriosly.