Omnimaga

Calculator Community => Other Calc-Related Projects and Ideas => TI Z80 => Topic started by: Happybobjr on October 20, 2010, 06:54:00 pm

Title: [Project] Sniper 101.
Post by: Happybobjr on October 20, 2010, 06:54:00 pm
Spoiler For Spoiler:
Ok so i have a major update.


Sniper 101
Version: 2.0.10

James Oldiges of Happybobjr Prod. 2010.
[email protected]

Assisted by:
*Qwerty.55: optimizations
*Aichi: Some great design for upper part of screen

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Description and Features:

Description:
A very fun sniper game to play during math class.

Features:
*Multiple civilians.
*One bad guy
*Quick quit to avoid getting caught by your teacher. (Users discretion is advised)
*Open source code.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Controls:
Arrow keys move scope.
'2nd' shoots.
'clear' quits the game.
'^' cheat mode/normal mode.



Contact me for: Thoughts, comments, complaints, rants, optimizations,
                lobsters, peanuts etc. are all welcome here.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


Change Log:
*New Character
*Multiple innocent civilians.
*Cheat key...'^'
*-100 points for shooting civilians.
*Slightly different display to maximize scope locations.
*Truly is only good in full speed mode, but can be adjusted for normal speed.




Download at:  here (http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=4143)
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 20, 2010, 06:58:47 pm
Is this going to be one of those "stress reliever" games?
This looks like it might be fun...
Title: Re: [Project] Sniper 101.
Post by: ztrumpet on October 20, 2010, 07:05:51 pm
It looks cool. :)  Do you control the sniper or the character?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 20, 2010, 07:07:30 pm
took 20 min. ;)
I did it during band.
The compiled code is about 1100 bytes.
I need to figure out some optimizations for it.

@ztrumpet:  You control the sniper.


anyone know how to draw a circle to the back buffer?
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 20, 2010, 08:17:16 pm
Best idea: features wishlist.
You might be able to draw it to the front buffer and do storepic if you redraw it every frame, though.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 20, 2010, 08:26:36 pm
Best idea: features wishlist.
You might be able to draw it to the front buffer and do storepic if you redraw it every frame, though.

uhh??? rewrite that plz.
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 20, 2010, 08:57:30 pm
Is there a clrdraw after the dispgraph or does it just change the buffer?  If it has a clrdraw and the buffer is redrawn every frame, you can draw the circle to the front, store it to the back, then draw everything else.
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 20, 2010, 09:48:07 pm
Looks cool so far, keep up the good work! ;)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 20, 2010, 09:57:41 pm
Is there a clrdraw after the dispgraph or does it just change the buffer?  If it has a clrdraw and the buffer is redrawn every frame, you can draw the circle to the front, store it to the back, then draw everything else.

humm... that might work.. But I don't think i could get the speeds matched up well...

Looks cool so far, keep up the good work! ;)

thanks
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 20, 2010, 09:58:32 pm
A cool idea would to make the sniper scope shake a little, to add difficulty and realism to the game ;)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 20, 2010, 10:02:20 pm
A cool idea would to make the sniper scope shake a little, to add difficulty and realism to the game ;)

I was thinking about it.

Code: 

X+((Rand^3)/2)-> X
X-((Rand^3)/2)-> X
Y+((Rand^3)/2)-> Y
Y-((Rand^3)/2)-> Y
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 20, 2010, 10:04:09 pm
A cool idea would to make the sniper scope shake a little, to add difficulty and realism to the game ;)

Looks like that would work, but maybe not large enough.  Looks like it only will affect it a pixel or two at most with the shake.  Maybe instead of rand modulo 3 maybe do it modulo 6?

Otherwise, coolio ;)
I was thinking about it.

Code: 

X+((Rand^3)/2)-> X
X-((Rand^3)/2)-> X
Y+((Rand^3)/2)-> Y
Y-((Rand^3)/2)-> Y

Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 20, 2010, 10:06:40 pm
mod 5.


0,1,2,3,4
equals
0,0,1,1,2



EDIT:  can someone make me some nice 8x8 pixel sprites for walking stick men?
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 21, 2010, 03:05:46 am
Nice, will there be people jumping or walking from higher parts of the screen?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 11:48:46 am
I added swaying of scope.
I added Infinite amount of shot.
I fixed timer (i'll need to make a version for 6 mH calcs....)
I added a score  feature.  IE.  5  /9
The guy changes locations when shot.

Upcoming:
Guy doesn't have to walk in straight line.
I will Undo "Full"  so i can be used on different calcs.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 21, 2010, 01:47:34 pm
I added swaying of scope.
I added Infinite amount of shot.
I fixed timer (i'll need to make a version for 6 mH calcs....)
I added a score  feature.  IE.  5  /9
The guy changes locations when shot.

Upcoming:
Guy doesn't have to walk in straight line.
I will Undo "Full"  so i can be used on different calcs.

Keep up with updates.

The game looks really good but some-how hard :S
Title: Re: [Project] Sniper 101.
Post by: squidgetx on October 21, 2010, 03:25:22 pm
anyone know how to draw a circle to the back buffer?

Code: [Select]
Exch(L6,L3,768)
Circle(X,Y,Radius)
Exch(L6,L3,768)

...basically switch buffer/backbuffer, draw circle to the buffer (which is actually the back buffer) then switch them back

Looks nice so far :)
Title: Re: [Project] Sniper 101.
Post by: Scipi on October 21, 2010, 03:37:35 pm
You know, on xbox there is a sniper simulator that could give you some nice ideas for the game. Such as notches and various distances. Just look it up in the indie section and try out the demo.
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 21, 2010, 03:43:47 pm
A cool idea would to make the sniper scope shake a little, to add difficulty and realism to the game ;)

I was thinking about it.

Code: 

X+((Rand^3)/2)-> X
X-((Rand^3)/2)-> X
Y+((Rand^3)/2)-> Y
Y-((Rand^3)/2)-> Y


This is more efficient
Code: [Select]
X+rand^5-2->X
Y+rand^5-2->Y

It will move X and Y a distance between 0 and 2 pixels away from where it was in a random direction.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 04:07:33 pm
A cool idea would to make the sniper scope shake a little, to add difficulty and realism to the game ;)

I was thinking about it.

Code: 

X+((Rand^3)/2)-> X
X-((Rand^3)/2)-> X
Y+((Rand^3)/2)-> Y
Y-((Rand^3)/2)-> Y


This is more efficient
Code: [Select]
X+rand^5-2->X
Y+rand^5-2->Y

It will move X and Y a distance between 0 and 2 pixels away from where it was in a random direction.

thanks.

Update:  Game sucks when at normal speed.... (trying to fix it)
Title: Re: [Project] Sniper 101.
Post by: Builderboy on October 21, 2010, 04:30:15 pm
 

This is more efficient
Code: [Select]
X+rand^5-2->X
Y+rand^5-2->Y

It will move X and Y a distance between 0 and 2 pixels away from where it was in a random direction.

That wont quite work because Axe does order of operations right to left, try this instead:

Code: [Select]
rand^5-2+Y->Y
rand^5-2+X->X
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 05:03:14 pm
still... that would have it sway too much.

i am using X+((Rand^25)/24)-> X
Title: Re: [Project] Sniper 101.
Post by: ztrumpet on October 21, 2010, 05:53:50 pm
still... that would have it sway too much.

i am using X+((Rand^25)/24)-> X
Use rand^25/24+X->X as it's more optimized. :)

Neat game. ;D
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 21, 2010, 07:48:48 pm
Thanks for the correction, Builderboy
Anyway...

still... that would have it sway too much.

i am using X+((Rand^25)/24)-> X

So you only want it to move one pixel in either direction very occasionally?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 07:59:33 pm
cool thanks

Thanks for the correction, Builderboy
Anyway...

still... that would have it sway too much.

i am using X+((Rand^25)/24)-> X

So you only want it to move one pixel in either direction very occasionally?

very occasionally?  This still sways quite a bit...
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 21, 2010, 08:22:46 pm
Only once every 13 cycles or so. That should be fairly inconsistent if the game itself is slow. About once every quarter second, I would imagine.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 08:36:23 pm
how would you put that in though?
It seems like that would be more inefficient.


Anyone got an idea to make everything but in the view of the scope black?
Title: Re: [Project] Sniper 101.
Post by: nemo on October 21, 2010, 08:38:02 pm
DS loop?
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 21, 2010, 08:38:16 pm
Draw circles to fill in where the scope is, DrawInv.
Then draw whatever inside the open circle.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 08:40:36 pm
oh, good thought ^


DS loop?
Could you do an example where it would be more efficient?


how can i make the inside of the circle white?
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 21, 2010, 09:13:13 pm
how would you put that in though?
It seems like that would be more inefficient.


Anyone got an idea to make everything but in the view of the scope black?

I was saying that that's what you're doing with the Rand^24/25+x->x. It's only every 13 cycles on average that X is incremented by a nonzero amount.

And for your scope thing, in Psuedo-code a routine might look like this.
Code: [Select]
ClrDraw
Rect(0,0,96,65)
...
RectI(X,Y,X+2R,Y+2R)     \\Clears the rectangle that squares the circle of the Scope
Fill outer perimeter of scope     \\Fill the parts of the rectangle that are supposed to be black
Draw background stuff to appear
Rect(X,Y,X+2R,Y+2R)     \\returns screen to original setup

Don't bother restricting your pictures only to the Scope. If the rest of the screen is black, then drawing black on top won't do anything and will save program size, if not execution speed.

EDIT: I'd recommend using a bitmap to fill the outer perimeter of the scope.
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 21, 2010, 09:14:40 pm
what I mean is draw the first pic and change it to the second pic.  then you can draw inside the circle to get something like the third pic.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 09:49:21 pm
what I mean is draw the first pic and change it to the second pic.  then you can draw inside the circle to get something like the third pic.


How did you make that circle!?!!!!!
It is amazing compared to mine.


how would you put that in though?
It seems like that would be more inefficient.


Anyone got an idea to make everything but in the view of the scope black?

I was saying that that's what you're doing with the Rand^24/25+x->x. It's only every 13 cycles on average that X is incremented by a nonzero amount.

And for your scope thing, in Psuedo-code a routine might look like this.
Code: [Select]
ClrDraw
Rect(0,0,96,65)
...
RectI(X,Y,X+2R,Y+2R)     \\Clears the rectangle that squares the circle of the Scope
Fill outer perimeter of scope     \\Fill the parts of the rectangle that are supposed to be black
Draw background stuff to appear
Rect(X,Y,X+2R,Y+2R)     \\returns screen to original setup

Don't bother restricting your pictures only to the Scope. If the rest of the screen is black, then drawing black on top won't do anything and will save program size, if not execution speed.

EDIT: I'd recommend using a bitmap to fill the outer perimeter of the scope.

I don't know anything about bitmaps
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 21, 2010, 09:55:02 pm
You're doing this in Axe, right?

Then let's say you have the Hex code [FFFFFFFF] for your image. To display the bitmap, just tack on the rows and columns to the first two bytes of the hex data (in that order) and use Bitmap(X,Y,hex code)

Code: [Select]
[0202FFFFFFFF]->Pic1
Bitmap(0,0,Pic1)

This will display a 2x2 bitmap at (0,0). At least I think it will.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 10:57:04 pm
but what is a bitmap??
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 21, 2010, 11:27:23 pm
A bitmap is like a sprite. Actually, it would be more correct to say that a sprite is basically a bitmap that moves around. In Axe, with the Spriting commands, what you're actually doing is designating a bitmap which is then drawn to the buffer. In other words, a bitmap is an image. With the Bitmap command, you can draw sprites that are not of the 8x8 size Axe uses.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 21, 2010, 11:47:50 pm
so why bother making Pt-on command?
are there benefits?
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 21, 2010, 11:53:37 pm
Because Bitmap uses a TI-OS routine that is slower than pt-on, but its advantage is that you don't need over 9000 pt-on commands to display many 32x32 sprites on the screen. Also I think bitmap only supports the AND logic, not XOR/OR. Pt-On/Off/change, on the other hand, gives more freedom and are faster.
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 21, 2010, 11:54:14 pm
so why bother making Pt-on command?
are there benefits?

It's easier to use and I believe it's more efficient because the algorithm doesn't have to handle an arbitrary amount of data. The 8x8 status is also a power of 2, so the Pt-On algorithm can be optimized that way.
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 22, 2010, 01:03:11 am
How did you make that circle!?!!!!!
It is amazing compared to mine.
I used msPaint ;) (on the computer)

btw in case you don't know axe can do Circle( .
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 12:20:53 pm
:)

i  am using 4 pt-on commands now
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 22, 2010, 12:51:05 pm
:)

i  am using 4 pt-on commands now

In that case it might be more efficient to consider a Bitmap.
Title: Re: [Project] Sniper 101.
Post by: Builderboy on October 22, 2010, 01:53:39 pm
Note: i ran some tests and bitmaps take about 15 times as much time as 4 sprites D:
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:28:15 pm
wow!  Thanks Builderboy.

I made a couple of changes in my code and saved over 300 bytes.

I had a empty circle then drew cross hair in it.
I changed it so the cross hairs were built into the circle...  ;)

This is coming nicly for a small project.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:33:25 pm
I opted for 'Other-Specify'.

You should have like three, four or even 5 guys going around(and more will come). You have to keep shooting them.
If you fail, no problem.

More and more guys will come, and you have to eliminate them as they come.

If, for example, 20 guys are on the screen, you lose, set highscore :)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:34:48 pm
I opted for 'Other-Specify'.

You should have like three, four or even 5 guys going around(and more will come). You have to keep shooting them.
If you fail, no problem.

More and more guys will come, and you have to eliminate them as they come.

If, for example, 20 guys are on the screen, you lose, set highscore :)

problem is that i don't know how to code that...
Help would be nice... (remember I like the game to be less that 2000 bytes.  So that cant take over 700 bytes.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:37:26 pm
I opted for 'Other-Specify'.

You should have like three, four or even 5 guys going around(and more will come). You have to keep shooting them.
If you fail, no problem.

More and more guys will come, and you have to eliminate them as they come.

If, for example, 20 guys are on the screen, you lose, set highscore :)

problem is that i don't know how to code that...
Help would be nice... (remember I like the game to be less that 2000 bytes.  So that cant take over 700 bytes.

First tip, create a variable for number of guys, then do

Code: [Select]
If numofguys > 10 Then
...Blah Blah Highscore

The code for numofguys keeps raising is hard, I don't know how to do such thing :S
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:40:49 pm
no, my problem is controlling multiple guys at once.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:41:28 pm
no, my problem is controlling multiple guys at once.

So, like making each guy walk right or left is the problem?
Maybe random?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:42:28 pm
right to left and left to right wouldn't be too hard.

I am just going to add that in final version so i can keep my code organized
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:43:34 pm
right to left and left to right wouldn't be too hard.

I am just going to add that in final version so i can keep my code organized

There is no such thing as 'final version' in programming. You always find something new, a bug for example that you update :D:D
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:44:00 pm
when i quit programing it :P
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:45:04 pm
when i quit programing it :P

Can't wait for my TI 84 to play your game, it looks great. I used to play First person shooters, and I loved sniping.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:46:39 pm
: )

If someone will test my game out, which i am attaching shortly to comment on speed of pauses, It would be great.
For full speed and regular. Thanks.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:47:26 pm
: )

If someone will test my game out, which i am attaching shortly to comment on speed of pauses, It would be great.
For full speed and regular. Thanks.

That's why teams of programmers are always good.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:51:27 pm
can i have two polls at once?
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:52:03 pm
can i have two polls at once?

That would be two different threads, I'm not sure if they allow that.

Wait for this one to end, maybe?
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 22, 2010, 02:52:16 pm
Other: I thinkt there should be missions, where you have to kill certain people in certain ways.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 02:53:24 pm
Other: I thinkt there should be missions, where you have to kill certain people in certain ways.

Like real Snipers, I like that too!
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:54:10 pm
Other: I thinkt there should be missions, where you have to kill certain people in certain ways.
interesting.  Have gray people and black people :D (not racist >:D )
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 22, 2010, 02:54:24 pm
Yeah, such as you have to kill an old guy for his wife, by hitting a branch above him that will fall and kill him. 

Or just shooting guards in a certain order so none trigger the alarm.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:56:43 pm
um,  i don't think either will be feasible.
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 22, 2010, 02:57:32 pm
um,  i don't think either will be feasible.

um... why not, it would be fun, and would make you look likea  beast programmer...

It's very possible to do...
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 02:58:50 pm
Fine, i shall try.... maybe...


Source: http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3976
Compiled: http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3975
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 02:59:01 pm
This game is really fun.  ;D
Are you going to let the guys just walk on the ground?
What about guys with parachutes or some different stories?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 03:00:15 pm
I don't know.... Wow this is getting attention.

If you can psudocode stuff. And/or pictures for your ideas, that would be great.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 03:00:18 pm
Hhaha, yeah just give him ideias, i think they are all wonderful. Can someone make a list of all the ideas given so that we can order them in order of importance?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 03:01:03 pm
someone want to be a co-programmer for this?
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 03:01:30 pm
someone want to be a co-programmer for this?

You really need one :)

Not me, no lol
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 03:03:37 pm
why not. I shall put tons of notes in the code to help.
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 22, 2010, 03:23:18 pm
someone want to be a co-programmer for this?

I'd be happy to look at your code and try some basic coding, since this project is related to one of my own.

EDIT: Looking at the source, I do see a few optimizations that could be made.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 03:34:45 pm
could you point them out plz?
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 22, 2010, 03:59:30 pm
could you point them out plz?

I'll just edit the parts of the source that could use it and PM you the edited source.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 04:06:13 pm
ok, thanks.  When will this be done by?
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 04:08:27 pm
As I said erlier, it would be nice if you make use of the full screen height.
If there is just one story, youre able to wait until the guy comes again as you can see in the
screenshot in the first post of this topic.
When the guy starts again left, he must be going to be moved on a random story.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 04:13:33 pm
Explain to me what you want. I believe I have him moved to a random height  after each pass in the program provided.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 04:13:42 pm
As I said erlier, it would be nice if you make use of the full screen height.
If there is just one story, youre able to wait until the guy comes again as you can see in the
screenshot in the first post of this topic.
When the guy starts again left, he must be going to be moved on a random story.


Did you ever hit the guy in that GIF?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 04:14:54 pm
me? Yes.
aichi?  No.


Aichi,  You are not using the current version of sniper 101

(http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3978;image)
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 04:20:49 pm
Did you ever hit the guy in that GIF?
I had to let him live to show what happens if he reaches the right screen bound.

Aichi,  You are not using the current version of sniper 101
I added the story system into AXSNIP2A.

Edit: Looks like there are already stories in the new version.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 04:25:44 pm
no story in new version. just made it black :P

so are you going to be a co-programmer?  because you should have the newest version of the program to get all the optimisations in and everything.
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 04:35:23 pm
so are you going to be a co-programmer?  because you should have the newest version of the program to get all the optimisations in and everything.
Ok, I downloaded AXSNIPE3 and Ill post some suggestions here soon.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 04:36:15 pm
ok thanks.  It does me no good with older versions :P

You will see some major optimizations :)
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 04:37:26 pm
(http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3978;image)

I <3 Sniper 101 like this.
Title: Re: [Project] Sniper 101.
Post by: Ranman on October 22, 2010, 04:38:10 pm
This game is really starting to look great. I love seeing the progression of the game as it matures. Nice work!
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 04:39:03 pm
This game is really starting to look great. I love seeing the progression of the game as it matures. Nice work!

That makes two of us. What? we have exact same number of posts btw
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 22, 2010, 04:54:59 pm
ok, thanks.  When will this be done by?

No idea. I'm rather busy today.
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 05:09:35 pm
I changed the ammo/time displaying. What do you think about it?
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 22, 2010, 05:10:07 pm
I changed the ammo/time displaying. What do you think about it?


Awesomeness
Title: Re: [Project] Sniper 101.
Post by: nemo on October 22, 2010, 05:11:44 pm
i like it! only problem is you can see the target sometimes when he's walking on the top row (the top of his head appears through the bullets)
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 22, 2010, 05:31:32 pm
um,  i don't think either will be feasible.

um... why not, it would be fun, and would make you look likea  beast programmer...

It's very possible to do...
Because you find it easy to do doesn't mean it will be easy for everyone. If it's so easy you should maybe attempt it yourself first then show him how.

i like it! only problem is you can see the target sometimes when he's walking on the top row (the top of his head appears through the bullets)
Yeah same here. I like how it looks so far. Good luck!
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 22, 2010, 05:34:27 pm
um,  i don't think either will be feasible.

um... why not, it would be fun, and would make you look likea  beast programmer...

It's very possible to do...
Because you find it easy to do doesn't mean it will be easy for everyone. If it's so easy you should maybe attempt it yourself first then show him how.

Good point.  I'm sorry, but it would be cool.  If you need any help on it, I'd be glad to help you, since I gave you the idea ;D

I noticed the new poll entry.  I see what you did there :D
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 05:35:10 pm
could you pseudo code it for me plz?  ^

(http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3978;image)

I <3 Sniper 101 like this.
thanks

ok, thanks.  When will this be done by?

No idea. I'm rather busy today.
ok

I changed the ammo/time displaying. What do you think about it?


could you post source?

um,  i don't think either will be feasible.

um... why not, it would be fun, and would make you look likea  beast programmer...

It's very possible to do...
Because you find it easy to do doesn't mean it will be easy for everyone. If it's so easy you should maybe attempt it yourself first then show him how.

i like it! only problem is you can see the target sometimes when he's walking on the top row (the top of his head appears through the bullets)
Yeah same here. I like how it looks so far. Good luck!

thanks.
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 05:48:03 pm

could you post source?


Wait a second.

Edit: Added attachments.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 05:59:03 pm
reversible back color now ready for update.  Just waiting for Aichi for the sprites.

lmao ninja'd
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 06:21:34 pm
you put it over 2000 bytes...

Update. As shown in screeny above.
^ key Changes between black and white. (for future modes.)

Here is the update: http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3985
Compiled: http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3984

Will someone make a screeny?
Title: Re: [Project] Sniper 101.
Post by: squidgetx on October 22, 2010, 06:24:58 pm
WOW looks awesome. Reminds me of the flash game Tactical Assasin
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 06:51:26 pm
you put it over 2000 bytes...

Update. As shown in screeny above.
^ key Changes between black and white. (for future modes.)

Here is the update: http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3985
Compiled: http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=3984

Will someone make a screeny?
Arent you going to include my graphically improvements?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 06:52:21 pm
i did....  What is wrong?  checking....

EDit:  screeny on front page is the old one....
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 22, 2010, 07:09:05 pm
Ah, sorry. It was my fault. The new version didnt overwrite the old, when I had downloaded it.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 07:11:52 pm
i hadn't updated it yet? oh well, all going good :D
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 22, 2010, 07:36:02 pm
Why do you absolutely want it to be under 2000 bytes, though? I don't understand why people are so stuck up about file sizes when they got 24 KB of RAM and 480 KB of archive. Because a game is larger doesn't mean it's crappier. In fact, it's the opposite most of the time.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 07:37:01 pm
well the old thought was to have a small short game.  but now... it might grow to where's waldo ;)
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 22, 2010, 07:38:12 pm
I personally don't think you should limit yourself too much when making games, unless you are really attempting a challenge or something. Also I don't get the Waldo reference ???
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 07:40:58 pm
I try to limit the size but not the functionality of it. so I try to program the base of the program to be as small as possible but still work fully.

At out school (elementary) where's Waldo was very popular.
That reminds me,  I got to make a where's Waldo game for the calc :P
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 22, 2010, 07:49:44 pm
Oh ok but I wondered what Waldo had to do with the Sniper game.

Also if you do Where's Waldo please don't do it like that :P


Also here are the screenshots of the game, but I failed very hard at both x.x. I think you need to reduce the sensitiveness of keys or allow us to continue when miss/sniped appears so we don't have to wait for a long while before the game continues again.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 07:54:21 pm
Well at least you tried... note: yyou forgot to show inverse mode. press ^

New poll! Choose which one you don't like. (each option last time had one vote...)

Anyone want to make Different sprites for the stickman? or are they good?
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 22, 2010, 08:10:19 pm
I think I have a multi-direction walking 8x8 sprite somewhere. I'll get those optimizations out soon, too.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 08:10:53 pm
ty.  That would be great. (i suck at drawing)
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 22, 2010, 09:31:21 pm
ty.  That would be great. (i suck at drawing)

That's okay, your excellent progamming skills make up for that :D
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 09:32:29 pm
thanks ;D
I am wondering where i want to bring this though...
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 22, 2010, 09:35:36 pm
with the poll, is it what we DONT like or what we LIKE?

Just wondering so I can get my vote right ;)
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 22, 2010, 10:07:59 pm
what we DONT like
this
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 22, 2010, 10:09:04 pm
I am trying to weed out the bad ones right now.
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 22, 2010, 10:17:47 pm
I appear to have deleted those sprites to make room for my "Other" project, but I'll redraw them and see if they don't increase the code size past the original, given the space I've created with only a few optimizations.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 23, 2010, 05:20:54 pm
got those optimizations?
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 23, 2010, 06:03:02 pm
Since E-mail isn't working...
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 23, 2010, 08:27:19 pm
ok, i worked in some of the optimizations.
I didn't use them all though. A couple weren't easy for me to quickly comprehend, which is important to me when programing
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 23, 2010, 08:46:51 pm
I understand. By the way, multiple targets don't appear to slow down the game unduly.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 23, 2010, 09:23:27 pm
I understand. By the way, multiple targets don't appear to slow down the game unduly.
how about in normal speed mode?
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 23, 2010, 09:34:59 pm
I haven't changed the speed setting at all, aside from eliminating a pause 300 in the enemy loop to accommodate a For( loop to search the array. I've seen almost no change in speed so far, even though it's drawing two sprites and manipulating the data for a third.
Title: Re: [Project] Sniper 101.
Post by: squidgetx on October 24, 2010, 12:18:07 pm
Personally, I think a mission type mode is best, where you have limited ammo and you have to shoot objects and people in a particular order so that no one sees you. Like this flash game: http://www.addictinggames.com/tacticalassassin.html
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 05:16:18 pm
Ok so i have a major update.


Sniper 101
Version: 2.0.10

James Oldiges of Happybobjr Prod. 2010.
[email protected]

Assisted by:
*Qwerty.55: optimizations
*Aichi: Some great design for upper part of screen

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Description and Features:

Description:
A very fun sniper game to play during math class.

Features:
*Multiple civilians.
*One bad guy
*Quick quit to avoid getting caught by your teacher. (Users discretion is advised)
*Open source code.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Controls:
Arrow keys move scope.
'2nd' shoots.
'clear' quits the game.
'^' cheat mode/normal mode.



Contact me for: Thoughts, comments, complaints, rants, optimizations,
                lobsters, peanuts etc. are all welcome here.

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/


Change Log:
*New Character
*Multiple innocent civilians.
*Cheat key...'^'
*-100 points for shooting civilians.
*Slightly different display to maximize scope locations.
*Truly is only good in full speed mode, but can be adjusted for normal speed.
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 24, 2010, 05:28:45 pm
That's looking good.
Title: Re: [Project] Sniper 101.
Post by: Hot_Dog on October 24, 2010, 05:29:57 pm
Wow
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 05:31:13 pm

look at the source for the collision checking :D
Very messy ;)

Wow
?
Title: Re: [Project] Sniper 101.
Post by: Madskillz on October 24, 2010, 06:25:16 pm
Looks much better, great job happybob
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 07:04:06 pm
thanks.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 24, 2010, 07:14:51 pm
Nice! However I think when missing/sniping pressing any arrow key should let you continue the game. Otherwise it's hard to control
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 24, 2010, 07:16:34 pm
looking good, great potential for the future (while it's technically complete on the simpler level right now, I would want to see a bit more done on this)

Great job! :D
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 07:16:48 pm
Nice! However I think when missing/sniping pressing any arrow key should let you continue the game. Otherwise it's hard to control

???  Are you talking about just waiting for a key press to end the pause? ^


looking good, great potential for the future (while it's technically complete on the simpler level right now, I would want to see a bit more done on this)

Great job! :D

What else do you want to see?
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 24, 2010, 07:19:40 pm
Yeah. You can keep the pause if no key is pressed but if pressing an arrow key it would be nice if the game continued
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 07:22:02 pm
sorry about the quadrupal post. :P


Yeah. You can keep the pause if no key is pressed but if pressing an arrow key it would be nice if the game continued
so.....

at the end.

While getkey(54)
End
Repeat getkey
End


???
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 24, 2010, 07:27:29 pm
Quote
looking good, great potential for the future (while it's technically complete on the simpler level right now, I would want to see a bit more done on this)

Great job! :D

What else do you want to see?

I just want o see a level system where you can upgrade guns, some animations for when yuo kill someone, some scenery, a money system.

Other than that you have a great sniper game :3
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 07:28:36 pm
Quote
looking good, great potential for the future (while it's technically complete on the simpler level right now, I would want to see a bit more done on this)

Great job! :D

What else do you want to see?

I just want o see a level system where you can upgrade guns, some animations for when yuo kill someone, some scenery, a money system.

Other than that you have a great sniper game :3

problem is, someone has to seriously walk me through how to make menu's
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 24, 2010, 07:28:46 pm
looking good, great potential for the future (while it's technically complete on the simpler level right now, I would want to see a bit more done on this)

Great job! :D

What else do you want to see?

How about something more than "sniped"?  Maybe have the guy fall over or explode or something.

edt: double ninja'd
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 07:30:17 pm
hum...  I could have my little code above where the game is pause till another button, and that animation would happen :P

Big Question!:  Is It bad to make a picture with random memory?
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 24, 2010, 07:54:09 pm
sorry about the quadrupal post. :P


Yeah. You can keep the pause if no key is pressed but if pressing an arrow key it would be nice if the game continued
so.....

at the end.

While getkey(54)
End
Repeat getkey
End


???

I don't remember in Axe sorry x.x

Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 24, 2010, 09:02:22 pm
hum...  I could have my little code above where the game is pause till another button, and that animation would happen :P

Big Question!:  Is It bad to make a picture with random memory?

Not at all. Sprites are read only. There's no write-back, so the data is unchanged. But I'd recommend not using the data in Flash because that has some recognizable images in it from the sprites TI-OS uses.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 24, 2010, 09:56:35 pm
ok, i was just going to use random locations to make it look like an explosion. :)

Will someone make me a shop menu and a home menu?
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 24, 2010, 10:20:28 pm
Here's what I currently have in TI-Explorer:

(http://img.removedfromgame.com/imgs/1287973185-TIexplorer.gif)

Is that similar to what you were thinking? By the way, the flicker in the greyscale is due to Wabbit and I can't fix it. It's almost flickerless on calc.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 24, 2010, 10:33:07 pm
Mhmm that looks quite nice Qwerty :D
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 24, 2010, 10:55:09 pm
Well, I still haven't changed the image to the background Runer created, so it could use improvement.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 07:47:55 am
I am just making my own menus now, i fiddled with them last night ;)
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 08:20:38 am
I am just making my own menus now, i fiddled with them last night ;)

Great, highscores vailable?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 10:45:04 am
not yet, but there is a location.

Start
Settings (hard/easy)
Highscores
Help (Has story in it)
Quit.


I have the shope menu already designed.

Extra time
extra amo
Mega Shot
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 25, 2010, 12:42:15 pm
Would you mind throwing a cheat code in for the impatient?

I can put a cheat code in if I want one ;D
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 25, 2010, 05:29:39 pm
not yet, but there is a location.

Start
Settings (hard/easy)
Highscores
Help (Has story in it)
Quit.


I have the shope menu already designed.

Extra time
extra amo
Mega Shot

Just make sure in the game to write ammo* and shop*. ;)
Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 25, 2010, 05:31:27 pm
not yet, but there is a location.

Start
Settings (hard/easy)
Highscores
Help (Has story in it)
Quit.


I have the shope menu already designed.

Extra time
extra amo
Mega Shot

Just make sure in the game to write ammo* and shop*. ;)

He types like a british person lol :D

sounds cool, can't wait for the next status update :D
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 06:05:11 pm
Sniper 101
Update: Version 3.0.1

Changelog:

Menu.
Shop menu.
Help.
Adjustable settings.
Much much more!
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 06:06:44 pm
I'm in love with you... *cough* sniper 101, the game is really good, keep updating!
Title: Re: [Project] Sniper 101.
Post by: yunhua98 on October 25, 2010, 06:07:18 pm
this looks amazing!/me rates up and will dowload when he gets home.  ;)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 06:26:16 pm
Notice:  You may only buy extra time and ammo currently.


Thanks guys.
What else should i add though?

After i am done with this game, I am going to make a game with the name of.
Sniper 101: 83+ Edition.
Sniper returns,
Call of Duty,
Sniper, Over C's,
Sniper Defense,
Or maybe some other name ;)

You might guess by looking at the games what they might be about ;)

/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\

Things I need/like from the downloaders.
*Opinions about speed (especially for 83+ users)
*What you think should be added to the game.
*Code Optimizations (if you are looking though code)
*What you dislike about it.
*Anything in general.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 06:29:10 pm
b4 instead of before? :( lol
huh... the enemies heads is too big when compared to inocents... (enemies have bigger heads?)

OOOh! Add a 'Headshot' message when you hit them in the head.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 06:34:54 pm
b4 instead of before? :( lol
huh... the enemies heads is too big when compared to inocents... (enemies have bigger heads?)

OOOh! Add a 'Headshot' message when you hit them in the head.
Do you want me to change it to before?  I kinda ran out of room ->

I can't do pixel art.  Thats why the heads are they way they are.
If someone wants to make me new sprites, they are more than welcome.

I like the Idea of head shot.  Bonus points?
Nut shots?  negative points?



Anyone that contributed or supported want to be linked on ti-calc?
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 06:41:11 pm
The head shots is a great idea, I guess extra points :)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 06:44:07 pm
how about nut shot?
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 06:44:36 pm
how about nut shot?
nut?
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 06:45:01 pm
There could be a mission where you HAVE to do a headshot, otherwise you lose :D
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 25, 2010, 06:47:48 pm
how about nut shot?
Nut shot is fine, if you want your file to be rejected from ticalc.org for TOS violation. Maybe they would be fine, though, but again I am not sure.

That said, it gets more and more interesting. For the main menu you should make the top bar and bottom one black with white text.

Also ScoutDavid please try to avoid double-posting when there isn't a considerable amount of time between both posts. ;)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 06:50:43 pm
how about nut shot?
Nut shot is fine, if you want your file to be rejected from ticalc.org for TOS violation. Maybe they would be fine, though, but again I am not sure.

That said, it gets more and more interesting. For the main menu you should make the top bar and bottom one black with white text.

Also ScoutDavid please try to avoid double-posting when there isn't a considerable amount of time between both posts. ;)

noted and put in :)
thanks.

There could be a mission where you HAVE to do a headshot, otherwise you lose :D

That would be for a sequel ;)  This one i think i shall keep it time based.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 06:51:26 pm
No... Please the headshot one now, it's really awesome :)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 06:52:58 pm
I will add a headshot, just not as a mission.
Although maybe as a secret key combo minigame ;)
"S" "C" "O" "U" "T"  maybe?
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 25, 2010, 06:55:52 pm
I will add a headshot, just not as a mission.
Although maybe as a secret key combo minigame ;)
"S" "C" "O" "U" "T"  maybe?

Scout for the win.

The minigame would only be available for people who know the code, probably people from Omnimaga :)
Title: Re: [Project] Sniper 101.
Post by: AngelFish on October 25, 2010, 07:01:52 pm
I just looked at the screenie and the music I'm listening to just takes it over the top. Great job!
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 08:32:58 pm
can someone make a 'bang' sound for when i shoot plz?
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 25, 2010, 08:35:29 pm
There's sound in the game?
Title: Re: [Project] Sniper 101.
Post by: ztrumpet on October 25, 2010, 08:40:36 pm
Wonderful game!  Great job on it HBJ! ;D
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 25, 2010, 09:37:47 pm
There's sound in the game?
No, I am asking someone to make a sound that i can insert in it ;)

Wonderful game!  Great job on it HBJ! ;D
thanks.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 25, 2010, 10:03:34 pm
Lol ok :P
Title: Re: [Project] Sniper 101.
Post by: Darl181 on October 26, 2010, 01:28:59 am
Wow, this game is coming along great!
*Darl181 wonders if it might get featured
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 26, 2010, 07:16:57 am
Wow, this game is coming along great!
*Darl181 wonders if it might get featured

would it really be good enough?
I does take over 5000 bytes.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 26, 2010, 07:49:52 am
I have Sniper101.zip and want to put it in my calculator (ti nspire with 84+ keypad). I have the keypad and used TI Connect to connect to it. HOW DO I put sniper101 in calculator? what folder? how? Please help me a lot.
Title: Re: [Project] Sniper 101.
Post by: Aichi on October 26, 2010, 07:54:44 am
I noticed there are guys walking across the interface in the attached screenies of reply 148.
Seems to be a bug.

I does take over 5000 bytes.
While your program wont be larger than 20KB you dont need to be worry about the memory size.

And thanks for the linking on ticalc. :)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 26, 2010, 12:52:28 pm
I have Sniper101.zip and want to put it in my calculator (ti nspire with 84+ keypad). I have the keypad and used TI Connect to connect to it. HOW DO I put sniper101 in calculator? what folder? how? Please help me a lot.

Ok open sniper101.zip.

Take The game and drag it to the desktop.
Open ti-connect.
Have it loaded.
Drag the game from the desktop onto ti-connect.
It should work.


I noticed there are guys walking across the interface in the attached screenies of reply 148.
Seems to be a bug.

I does take over 5000 bytes.
While your program wont be larger than 20KB you dont need to be worry about the memory size.

And thanks for the linking on ticalc. :)


That is the old version ;)
I have fixed that, added HEADSHOT, and made the characters move left as well as right.
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 26, 2010, 02:40:02 pm
"Ok open sniper101.zip.

Take The game and drag it to the desktop.
Open ti-connect.
Have it loaded.
Drag the game from the desktop onto ti-connect.
It should work."


The Game? I have AXSNIPE6.8, Read me if you don't want to.txt, screenyofsniper6.gif and this is the compiledsniper.8xp.

WHICH ONE?, thx
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 26, 2010, 02:45:14 pm
Wow, this game is coming along great!
*Darl181 wonders if it might get featured

would it really be good enough?
I does take over 5000 bytes.
We don't judge a game based on its size. Many featured games are in the 100 KBs. However if it has signifiant amounts of features and maybe a few game modes it will most likely have a big chance.

"Ok open sniper101.zip.

Take The game and drag it to the desktop.
Open ti-connect.
Have it loaded.
Drag the game from the desktop onto ti-connect.
It should work."


The Game? I have AXSNIPE6.8, Read me if you don't want to.txt, screenyofsniper6.gif and this is the compiledsniper.8xp.

WHICH ONE?, thx
You need to right-click the 8xp file and select Send to TI Device. A list will appear and then you click send. You can drag more files there too.

Do you have OS 1.1, by the way? Because TI-Connect will not work with it.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 26, 2010, 03:46:53 pm
Well, i will be updating Today, and then one more time.  Then i will be done with this.

After this update i will
*Finish the upgrades
*Make it 83+ friendly
*You win!  after lvl 50
*Rewrite how the score is done.
*add/remove high-scores.
*Change the timer ratio between lvls.
*Bonus lvl after 50 where you have to shoot lobsters to eat them >:D
*Headshot minigame
/\/\/\/\/\/\/\/\/\/\/\//\/\/\

Current project i am working on, when i am bored with this.
Deathmatch of http://www.crazymonkeygames.com/Boxhead-2Play-Rooms.html
 (http://www.crazymonkeygames.com/Boxhead-2Play-Rooms.html)
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 26, 2010, 03:47:28 pm
Well, i will be updating Today, and then one more time.  Then i will be done with this.

After this update i will
*Finish the upgrades
*Make it 83+ friendly
*You win!  after lvl 50
*Rewrite how the score is done.
*add/remove high-scores.
*Change the timer ratio between lvls.
*Bonus lvl after 50 where you have to shoot lobsters to eat them >:D
*Headshot minigame
/\/\/\/\/\/\/\/\/\/\/\//\/\/\

Current project i am working on, when i am bored with this.
Deathmatch of http://www.crazymonkeygames.com/Boxhead-2Play-Rooms.html
 (http://www.crazymonkeygames.com/Boxhead-2Play-Rooms.html)

Great, it's a great end :)
Title: Re: [Project] Sniper 101.
Post by: squidgetx on October 26, 2010, 04:32:06 pm
Nice game :)

One suggestion I have is to have a key lag after exiting the shop screens and when pressing a key after a hit so that you don't accidentally shoot when trying to advance the screen. This can be done with a simple Pause XXXX (I recommend around 1500).

Also you can make the text (Sniped....Miss) inverted colors to match the background with a simple Fix 2 (or 3) before the text command and a Fix 3 (or 2) afterwards
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 26, 2010, 04:57:15 pm
Just tried Sniper101, as I promised happybojr. Installed Doors CS7 and then Sniper 101.

It's great. Maybe enlarge the sight? quite small :S

Already got 300points :)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 26, 2010, 05:07:51 pm
Nice game :)

One suggestion I have is to have a key lag after exiting the shop screens and when pressing a key after a hit so that you don't accidentally shoot when trying to advance the screen. This can be done with a simple Pause XXXX (I recommend around 1500).

Also you can make the text (Sniped....Miss) inverted colors to match the background with a simple Fix 2 (or 3) before the text command and a Fix 3 (or 2) afterwards

1. Thanks ;).

2. That is only a problem when going to lvl one. I also give an extra bullet right there, so it doesn't matter to me either way.

3.  If you want to add that after my final version, I will add you to the credits.  But i don't care enough to do it myself.


/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

After the game is done,  I am fine if you guys pull a Phoenix*.
* Pulling a Phoenix:  The act of making minuscule changes to a game that took much time and effort to make, and taking the credit for the game.  The original author is either listed as a co-producer or is not even mentioned at all.
/\/\/\/\/\/\/\//\/\/
EDIT:
Just tried Sniper101, as I promised happybojr. Installed Doors CS7 and then Sniper 101.

It's great. Maybe enlarge the sight? quite small :S

Already got 300points :)

Thanks.  Unfortunately my scope, for blackround, is just 4 sprites right next to each other.
On whiteround, it is simply a circle with lines ;)

so if you want to make a scope that is >16 by 16  and is <24 by 24, I would gladly put it in. and have an option that would make them interchangeable.
*I am sorry If any of my info on my game is incorrect.  I have already done some updates on my calc. ;0
Title: Re: [Project] Sniper 101.
Post by: Munchor on October 26, 2010, 05:10:33 pm
'(...)as a co-producer or is not even mentioned at all.'

Co-Producer? Who does that?
Sniper 101 is mine, I don't care -.-

Hahahah j/k
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 26, 2010, 05:14:35 pm


Just tried Sniper101, as I promised happybojr. Installed Doors CS7 and then Sniper 101.

It's great. Maybe enlarge the sight? quite small :S

Already got 300points :)

Thanks.  Unfortunately my scope, for blackround, is just 4 sprites right next to each other.
On whiteround, it is simply a circle with lines ;)

so if you want to make a scope that is >16 by 16  and is <24 by 24, I would gladly put it in. and have an option that would make them interchangeable.
*I am sorry If any of my info on my game is incorrect.  I have already done some updates on my calc. ;0
Title: Re: [Project] Sniper 101.
Post by: squidgetx on October 26, 2010, 05:15:21 pm
Did that really happen to Phoenix? (the shooter)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 26, 2010, 05:23:26 pm
ya... Big time....

http://www.ticalc.org/archives/files/fileinfo/349/34968.html
http://www.ticalc.org/archives/files/fileinfo/348/34887.html
http://www.ticalc.org/archives/files/fileinfo/156/15602.html  (not mentioned at all)
http://www.ticalc.org/archives/files/fileinfo/306/30667.html
http://www.ticalc.org/archives/files/fileinfo/180/18083.html (not mentioned at all)
http://www.ticalc.org/archives/files/fileinfo/253/25349.html
http://www.ticalc.org/archives/files/fileinfo/388/38880.html (not mentioned at all)
http://www.ticalc.org/archives/files/fileinfo/353/35384.html
http://www.ticalc.org/archives/files/fileinfo/269/26941.html
http://www.ticalc.org/archives/files/fileinfo/340/34075.html

I was too lazy to find more.....
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 27, 2010, 03:08:01 am
Yeah it's insane how many versions of Phoenix there are. X.x I stopped bothering checking them because I couldn't figure out which one is the best. X.x
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 27, 2010, 06:48:30 am
Updatish|  I got flash bangs working after working on a block error for over an hour last night.....
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 27, 2010, 04:04:02 pm
Nice, and glad you could fix your error. Debugging is annoying somtimes. X.x
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 27, 2010, 08:03:47 pm
flash bangs also stuns people for a moment now.

Title: Re: [Project] Sniper 101.
Post by: ASHBAD_ALVIN on October 27, 2010, 08:04:13 pm
Cool :D
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 28, 2010, 01:08:58 am
What are flash bangs?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 28, 2010, 09:59:22 am
flash grenades.

Temporarly stuns people with a quick bright flask of light.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 28, 2010, 06:33:35 pm
Ah ok cool, thanks for the info. Seems nice :D
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 28, 2010, 10:53:16 pm
well update.

Change log:
In shop:
flash bangs.
reduce sway.
Will update money even if you are holding down for fast buying

Story:  added another page. must download to see Wink.

Pause: now displays score.
Alpha...

New Item: flash bangs.  Mode to use.

and much much more.

2 direction walking.
Correct it detection.
Headshots.

And more that i can't think of right now.



Next release will have adjustable time.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 29, 2010, 03:31:12 am
What is reduce sway? I think you should upload a readme or something. Nice update, though.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 29, 2010, 06:46:15 am
reduce sway will reduce the sway of your gun.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 29, 2010, 05:18:39 pm
Ah ok. A new word I did not know before in my english vocabulary. I think in next versions posts, you should add a description of all features added so it is a bit less confusing X.x
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 29, 2010, 05:26:38 pm
I lost track.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 29, 2010, 06:18:30 pm
Same as previous update, but added screeny

download (http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=4143)
Title: Re: [Project] Sniper 101.
Post by: ztrumpet on October 29, 2010, 07:41:03 pm
Great job HBJ! ;D
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on October 29, 2010, 09:02:49 pm
Darn I love it, especially how you can buy stuff to make the game easier as you progress. :)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 29, 2010, 09:15:16 pm
Darn I love it, especially how you can buy stuff to make the game easier as you progress. :)
thanks, that means allot coming from you.


I believe it is nearly impossible to win on hard though ;)

I'll need to add bonus points for being on hard.
Title: Re: [Project] Sniper 101.
Post by: Munchor on November 05, 2010, 01:57:14 pm
Same as previous update, but added screeny

download (http://www.omnimaga.org/index.php?action=dlattach;topic=4930.0;attach=4143)

Excellent job! Great, awesome game awesome menu, keep doing lovely Axe
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on November 05, 2010, 07:11:09 pm
/me wonders if there's any progress
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on November 05, 2010, 09:29:42 pm
I have been trying to work in high scores.  with 0 success
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on November 05, 2010, 10:12:47 pm
Did you check some Axe topics about highscores? You might find some help there. They are buried in page 3 or 4, though. What problem do you have, by the way?
Title: Re: [Project] Sniper 101.
Post by: MRide on November 05, 2010, 10:56:03 pm
Hmmm...that sucks.  I wish I could help, but I don't know nearly enough Axe.  Good luck!
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on November 05, 2010, 11:10:31 pm
well i have gotten my appvariables to work perfectly in the past.


I am guessing i am using wrong pointers/mem locations/variable  together
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on November 05, 2010, 11:16:00 pm
Code?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on November 05, 2010, 11:16:50 pm
not tonight.  I have currently halted progress, again, to work on my 2 player shooter game.  which i am about to post on.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on November 06, 2010, 04:47:43 pm
Ah ok I see. Don't hesitate to ask help in the Axe Parser sub-forum if you need to.
Title: Re: [Project] Sniper 101.
Post by: yunhua98 on January 14, 2011, 05:35:26 pm
EIPC bump.

happybobjr, check this out.  ;)
http://www.ticalc.org/archives/files/fileinfo/434/43454.html
Title: Re: [Project] Sniper 101.
Post by: Munchor on January 14, 2011, 05:36:29 pm
I also saw that, he edited it and made a new one.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on January 14, 2011, 09:31:28 pm
Ya, i saw that.
You know its different because of 202 :P
He didn't warn me at all about this, but i have emailed him and we are now in contact. No hard feelings.
He said zoom was added. that confused me. I looked at it and there was no zoom...

I got sick of scrolling through so much data when i made the game so big that i gave up the project.  But it seems as if he is trying to polish it up :P.  I am trying to help him along.

Oh well. It was a shock for me this morning when i got on :D
Title: Re: [Project] Sniper 101.
Post by: Builderboy on January 15, 2011, 02:12:11 am
Wow, well he should have definitely asked for your permission, but its cool how you two are working together to polish it up :) On a related note, if you were sick of scrolling through so much code, there is a way to split it up into multiple subprograms, which can make everything significantly more manageable :)
Title: Re: [Project] Sniper 101.
Post by: Munchor on January 15, 2011, 04:36:24 am
Wow, well he should have definitely asked for your permission, but its cool how you two are working together to polish it up :) On a related note, if you were sick of scrolling through so much code, there is a way to split it up into multiple subprograms, which can make everything significantly more manageable :)

Like The Psyche... But then it is all in one .8xk in the game itself.
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on January 15, 2011, 09:59:31 am
Wow, well he should have definitely asked for your permission, but its cool how you two are working together to polish it up :) On a related note, if you were sick of scrolling through so much code, there is a way to split it up into multiple subprograms, which can make everything significantly more manageable :)

wE AREN'T WORKING TOGETHER.
hE IS WORKING ON IT HIMSELF.  hE IS just coming to me when he gets confused.

Note: sorry i bumped caps lock.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on January 18, 2011, 01:40:54 am
Sorry to see you stopped working on it, but glad to hear it's not dead and you're still helping polishing it up when he needs help.
Title: Re: [Project] Sniper 101.
Post by: Mohammad on February 03, 2011, 01:21:51 am
How to actually zoom in Axe?
pixel test certain part and make those pixels take up 4 pixels?
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on February 03, 2011, 01:27:25 am
I think I or someone else had a routine somewhere to zoom small sprites, but it was really slow for larger stuff. Runer112 made one too, though, although I never got able to understand it. X.x
Title: Re: [Project] Sniper 101.
Post by: kalan_vod on February 03, 2011, 02:25:07 am
If you need the code in assembly, I am sure we have it on revsoft
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on February 03, 2011, 04:12:10 pm
umm, I myself haven't worked on this for a very, very long time.

I don't know about the other guy though.
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on February 04, 2011, 02:28:40 am
If you need the code in assembly, I am sure we have it on revsoft
I remember seeing a screenshot from Zelda using it:

(http://group.revsoft.org/zoomchest.gif)

I think Runer112 Axe version quite fast too, but I don't know how much larger. I wonder if Spencer still has the code for his ASM one...

By the way happybobjr are you currently working on any projects?
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on February 04, 2011, 10:04:05 am
Not really,  I just can't get motivated [/lies]

[truth] I have rewriten Calc of duty 3 times.  none of them worked.  I deleted them.  I finally tried my stable version it didn't work...  It turns out my I/O port is messed up....
So i work on COD whenever I have two other 84+'s
[/truth]

should i clean my I/O port?
Title: Re: [Project] Sniper 101.
Post by: JustCause on February 04, 2011, 10:42:25 am
Spoiler For offtopic:
If you need the code in assembly, I am sure we have it on revsoft
I remember seeing a screenshot from Zelda using it:

(http://group.revsoft.org/zoomchest.gif)
Wait, where can I find that program? (Not the routine for zooming, but the program as a whole. Is it an in-progress game? What is this I don't even.)

Sorry to hear about Calc of Duty happybobjr. I would send you my calc if I could. :)
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on February 04, 2011, 10:44:07 am
Check the routines thread.
Title: Re: [Project] Sniper 101.
Post by: ruler501 on February 04, 2011, 01:13:51 pm
Is there going to be a version of this for the Nspire? That would be amazing. this looks great by the way
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on February 04, 2011, 03:25:47 pm

I don't know how to code for C.
And thanks.
Title: Re: [Project] Sniper 101.
Post by: ruler501 on February 04, 2011, 03:31:27 pm
Who knows maybe someone else will do it
*ruler starts looking around
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on February 04, 2011, 03:49:45 pm
The game isn't good enough to port.
btw,  what version are you looking at?the one with a shop, or the nice small version that I realized can be heavily optimized
Title: Re: [Project] Sniper 101.
Post by: ruler501 on February 04, 2011, 04:43:48 pm
I was talking about the version someone else had improved. I don't remember who it was but It was mostly your game I believe. I remembered the thread on that and looked through it. The game looked wonderful
Title: Re: [Project] Sniper 101.
Post by: DJ Omnimaga on February 05, 2011, 02:40:20 am
Spoiler For offtopic:
If you need the code in assembly, I am sure we have it on revsoft
I remember seeing a screenshot from Zelda using it:

(http://group.revsoft.org/zoomchest.gif)
Wait, where can I find that program? (Not the routine for zooming, but the program as a whole. Is it an in-progress game? What is this I don't even.)

Sorry to hear about Calc of Duty happybobjr. I would send you my calc if I could. :)
The program in the spoiler can't be downloaded, but it's Spencer's Zelda project at www.revsoft.org . It seems dormant, though...
Not really,  I just can't get motivated [/lies]

[truth] I have rewriten Calc of duty 3 times.  none of them worked.  I deleted them.  I finally tried my stable version it didn't work...  It turns out my I/O port is messed up....
So i work on COD whenever I have two other 84+'s
[/truth]

should i clean my I/O port?
I see, sorry to hear about your link port. Maybe cleaning it could work but again I'm not sure. X.x
Title: Re: [Project] Sniper 101.
Post by: Happybobjr on October 16, 2011, 12:31:24 am
Ok so I am really frustrated with my rolling ball game right now, and i need long amounts of time w/o interruptions to work on it, so i picked this back up.


To you newer members, this game was made when I was first learning axe so there were many problems... such as optimizing like you would ti-basic :P
In the past hour or so I have reworked much of the code so it can now run on a regular ti-83+.   I have optimized it by several hundred bytes and some more will be shaved off soon.

Right now I am just working on making things better before I screw around with gameplay or anything.

BTW: can someone remove the poll (or edit it to be blank)?  This was before my account got deleted so I doesn't recognize it as mine