Author |
Message |
|
Brazucs I have no idea what my avatar is.
Super Elite (Last Title)
Joined: 31 Mar 2004 Posts: 3349
|
Posted: 25 Nov 2004 11:21:25 pm Post subject: |
|
|
Click Here
This looks like a pretty easy game to do for the calc. I'm definately gonna do it, maybe I'll actualkly finish this one!
Something I'm gonna change is that only the barrel gets bigger when you hit that special button. I'm also gonna show how many balls you have caught and when you catch something like 20 balls, you barrel grows.
Any other advice?
Also, can anyone help me out with the sprites or the little guys? I'm horrible with art, but I've seen some great work from Leofox, etc...
Anything between 8xH and 16xH would be awesome! (H means any height)
Last edited by Guest on 26 Nov 2004 12:09:40 am; edited 1 time in total |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 26 Nov 2004 05:23:05 am Post subject: |
|
|
brazucs16 wrote: Also, can anyone help me out with the sprites or the little guys? I'm horrible with art, but I've seen some great work from Leofox, etc...
Anything between 8xH and 16xH would be awesome! (H means any height)
Post a request in the sprite topic. |
|
Back to top |
|
|
leofox INF student
Super Elite (Last Title)
Joined: 11 Apr 2004 Posts: 3562
|
Posted: 26 Nov 2004 11:19:21 am Post subject: |
|
|
brazucs16 wrote: Also, can anyone help me out with the sprites or the little guys? I'm horrible with art, but I've seen some great work from Leofox, etc...
Anything between 8xH and 16xH would be awesome! (H means any height)
From me? You mean those monsters in my game? Most of them are made by classmates, not by me.
But i'll give it a try |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 26 Nov 2004 12:39:12 pm Post subject: |
|
|
/me cowers in a corner and cries for not being mentioned. : ( |
|
Back to top |
|
|
leofox INF student
Super Elite (Last Title)
Joined: 11 Apr 2004 Posts: 3562
|
Posted: 27 Nov 2004 09:58:34 am Post subject: |
|
|
okay, here's what i made:
The big and colored one is the original, the two in the square are for the calc. I made a small one and a big one. The square is the calculator screen, for comparison.
|
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 27 Nov 2004 10:37:04 am Post subject: |
|
|
*cough* |
|
Back to top |
|
|
DigiTan Unregistered HyperCam 2
Super Elite (Last Title)
Joined: 10 Nov 2003 Posts: 4468
|
Posted: 27 Nov 2004 08:01:57 pm Post subject: |
|
|
'Just one question. Basic or Assembly? If you're using ASM you might want to get in touch with CoBB for some of his vector & gravity codes. And maybe use some kind of a targeting recticle so you don't have make a sprite for every angle. |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 28 Nov 2004 06:30:02 am Post subject: |
|
|
Or write a tilt routine. |
|
Back to top |
|
|
Brazucs I have no idea what my avatar is.
Super Elite (Last Title)
Joined: 31 Mar 2004 Posts: 3349
|
Posted: 28 Nov 2004 03:21:32 pm Post subject: |
|
|
Quote: /me cowers in a corner and cries for not being mentioned. : ( Eek, sorry Arcane... I never knew you did sprites well too. ::ashamed::
It's definitely going to be ASM. I was guessing I was gonna have to write a tilt routine, but I'll talk to CoBB about his stuff first. I was actually thinking of just drawing an arrow... but that's the lazy way out!
Edit:
Argh... I changed my mind! I'll do it in TI-Power Gold. I'm not nearly accostumed enough with ASM to do this.
I used that sprite, Leofox: thank you very much! Click Here
Left/Right arrows to move the guy and ENTER to bring him down, but only press ENTER if you're on VTI: it's clearing my RAM when you try to exit (CLEAR to exit).
-----------------------------
Here's a programming question. To draw the rows they are standing on, I'm gonna have to do something like this:
Code: /Human
If rowsH < 11
Draw Tenth Row
If rowsH < 10
Draw Ninth Row
If rowsH < 9
Draw Eighth Row
...
If rowsH < 1
KillHPlayer
/Computer
If rowsC < 11
Draw Tenth Row
If rowsC < 10
Draw Ninth Row
If rowsC < 9
Draw Eighth Row
...
If rowsC < 1
KillComputer
[/CODE]
That's gonna be some drawing routine... anyone have any other way?
Last edited by Guest on 28 Nov 2004 04:30:53 pm; edited 1 time in total |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 28 Nov 2004 05:18:02 pm Post subject: |
|
|
wheeee |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 28 Nov 2004 05:35:04 pm Post subject: |
|
|
Quote: If rowsH < 11
Draw Tenth Row
If rowsH < 10
Draw Ninth Row
If rowsH < 9
Draw Eighth Row
...
If rowsH < 1
KillHPlayer
Code: If rowsH<1
KillHPlayer
For i,1,rowsH
Draw ith Row
End
|
|
Back to top |
|
|
leofox INF student
Super Elite (Last Title)
Joined: 11 Apr 2004 Posts: 3562
|
Posted: 29 Nov 2004 09:08:35 am Post subject: |
|
|
brazucs16 wrote: I used that sprite, Leofox: thank you very much! Click Here
You're welcome
I haven't tested your game yet, cuz my vti doesn't run Ion games, and my graphlink isn't here right now. I'll try it later. |
|
Back to top |
|
|
Brazucs I have no idea what my avatar is.
Super Elite (Last Title)
Joined: 31 Mar 2004 Posts: 3349
|
Posted: 29 Nov 2004 01:21:26 pm Post subject: |
|
|
It's just the extreme beginning of it... so, I think I'll use your sprite for the little guy and Arcane's big guy.
I like the rows too, Arcane. I'll def. use those. :)
Edit:
Added the rows and vertical line... Click Here
Edit Edit: I was never good at projectile motion. Does anyone know the height formula?
Last edited by Guest on 29 Nov 2004 04:39:02 pm; edited 1 time in total |
|
Back to top |
|
|
DarkerLine ceci n'est pas une |
Super Elite (Last Title)
Joined: 04 Nov 2003 Posts: 8328
|
Posted: 29 Nov 2004 07:13:07 pm Post subject: |
|
|
It's better to not use formulas involving quadratics each loop. Instead, you can store a xchange and ychange variable by which you will increase the x and y of the projectile each time. At the beginning, xchange=constant*cos(angle), ychange=the same constant*sin(angle). Decrease the ychange by a fixed value in each loop, representing gravity. |
|
Back to top |
|
|
DigiTan Unregistered HyperCam 2
Super Elite (Last Title)
Joined: 10 Nov 2003 Posts: 4468
|
Posted: 29 Nov 2004 11:00:33 pm Post subject: |
|
|
It might also help simplfy things to treat the the X and Y movement completely seperate from each other. Anotherwords, X movement has no effect Y movement and vice versa. This might also come in handy with your bouncing code. |
|
Back to top |
|
|
leofox INF student
Super Elite (Last Title)
Joined: 11 Apr 2004 Posts: 3562
|
Posted: 30 Nov 2004 10:25:29 am Post subject: |
|
|
I made a basic gravity program that didn't use trigonometric or quadratic functions, but gave a good result.
Code: Repeat vpos < number of row*rowheight
draw ball
wait a while
clear ball
vpos-vspeed ->vpos
vspeed- 1 (really .98 but who cares) ->vspeed
hpos+hspeed -> hpos
End
it's ti-basic (but with the variables written full) and i think you could make it assembly or ti-power gold easily.
I think you could get the horizontal speed from the angle somehow. |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 30 Nov 2004 11:35:36 am Post subject: |
|
|
leofox wrote: it's ti-basic (but with the variables written full) and i think you could make it assembly or ti-power gold easily.
I think you could get the horizontal speed from the angle somehow.
You could call it pseudocode. : )
BTW
hspeed = vspeed * tan( angle )
Last edited by Guest on 30 Nov 2004 11:56:52 am; edited 1 time in total |
|
Back to top |
|
|
leofox INF student
Super Elite (Last Title)
Joined: 11 Apr 2004 Posts: 3562
|
Posted: 30 Nov 2004 12:43:45 pm Post subject: |
|
|
Arcane Wizard wrote: leofox wrote: it's ti-basic (but with the variables written full) and i think you could make it assembly or ti-power gold easily.
I think you could get the horizontal speed from the angle somehow.
You could call it pseudocode. : )
I't's not really pseudocode, if you change the long names to variables (i.e. vpos to Y) it's working TI-BASIC code. (well, you have to change the drawing stuff to pixel on or point on, but i suppose you get my point)
Quote: BTW
hspeed = vspeed * tan( angle )
do that before the drawing loop. This way, you'll only lose some speed before the loop, which doesn;t matter much. |
|
Back to top |
|
|
Arcane Wizard `semi-hippie`
Super Elite (Last Title)
Joined: 02 Jun 2003 Posts: 8993
|
Posted: 30 Nov 2004 05:45:12 pm Post subject: |
|
|
It is pseudo code, try reading the definition and looking at some examples. : ) |
|
Back to top |
|
|
|