Join us on Discord!
You can help CodeWalrus stay online by donating here.

KILL CMND [TI-84+CE]

Started by kotu, September 13, 2016, 03:47:33 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kotu

'hopefully' i wont have to split things across frames

*fingers crossed*
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

kotu

#136
this whole thing is actually quite a lot more complex than i had imagined... also, 'horror', i might have to use sqrt() once per frame per missile  :'(  meh

anyway here is my progress on my test app so far

http://www.youtube.com/watch?v=MJpsZjpw_ug





Edit by p2: fixed youtube link
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

p2

that looks really nice :D
I it the similar speed you can get on the calculator, or is this testapp faster? :)

also you might want to color the bullets red//blue? :)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

kotu

Quote from: p2 on January 18, 2017, 08:10:05 AM
that looks really nice :D
I it the similar speed you can get on the calculator, or is this testapp faster? :)
thanks. this is running at 10 fps, hopefully i should be able to get something like that on calc


Quote from: p2 on January 18, 2017, 08:10:05 AM
also you might want to color the bullets red//blue? :)
yes i'm aware that graphical work needs to be done XD
hopefully some thing like a vapour trail will be possible
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Dream of Omnimaga

I actually like the bullets how they are. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

kotu

#140
thought i would upload this so you ppl can play about with it and maybe get some feedback

the daywalker mechs attacks (red lasers) aren't implemented yet but the other 2 units are. the LRM bots are (obviously) long-range and the blue tanks are medium range

explosions and sound fx not added. lol

http://www.mediafire.com/file/d3ke890p0y5h3t4/KCMapTest.zip

*edit
should really have uploaded the 20fps version. oh well
link now void
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

kotu

here is the new version which has lasers!

http://www.mediafire.com/file/f693t98kadnm5an/KCMapTest.zip

also runs at 20fps instead of 10
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Dream of Omnimaga

OOoh nice speed improvements! What did you do that improved the frame rate this much? I'll give it a try in a few minutes. :)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

kotu

well, it could run a lot faster than that on PC

the frame rate is limited to about 20fps in this case because it's run by a system timer - the smallest reliable time step is about 50ms
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Dream of Omnimaga

Oh wait, I just downloaded it and realized this is a PC program, not for calcs. Is the 20 FPS on PC only or on calc?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

kotu

#145
lol i did wonder

its just on pc at that speed

calc will be slower..... although... from my initial tests, even a framerate as low as 7fps would be pretty acceptable for this game

*edit
screenshots->


  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Dream of Omnimaga

For the calculator frame rate, what you can probably do is only process a certain amount of units per frame but check for keypresses every frame, so that despite stuff moving around 5-7 FPS, you can still move the cursor and select stuff faster, thus, controls remain responsive.

As for the units, I never programmed a strategy game, but I did play Starcraft quite a bit, so I can probably help you with unit balance in terms of types and weaknesses. Usually you got light, armored and heavy units, melee, medium range or long range attacks and various types of projectiles, with some units moving faster than others. But the combinations depend of the race. Also, the basic units are often weak, but can still be handy later in the game (although not much in the very end). Generally, fire and acid projectiles are strong against non-armored units and missile style projectiles are strong against armored units. As for heavy units, usually melee units are very strong against them when their speed is upgraded because heavy units often have troubles attacking at short range. There are also air units but not all RTSes have them.
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

kotu

Yeah my game is going to be probably the simplest strategy game around in terms of units. There are only really 3 units (also a scout car but that does not attack) - 1 long range, 1 medium and 1 short range. Want it to be as simple as possible in that respect. I often think strategy games have too many unit types.
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

p2

I wonder, how many bullets can the red ones take?
and how fast are the blue's guns?
one shot fired and the next one after the previous one hit? or one every second? :)
(for the calc game later)
  • Calculators owned: ti-83+, ti-84+, ti-84+, ti-84+se, ti-84+se(te), ti-nsphire, ti-nsphire CAS, ti-nsphire CX-CAS, ti-voyage, ti-voyage, Who reads this list anyways...?
Anyway war sucks. Just bring us your food instead of missiles  :P ~ DJ Omnimaga (11.10.2016 20:21:48)
if you cant get a jframe set up, draw stuff to it, and receive input, i can only imagine how horrible your game code is _._   ~ c4ooo (14.11.2016 22:44:07)
If they pull a Harambe on me tell my family I love them ~ u/Pwntear37d (AssangeWatch /r/)
make Walrii great again ~ DJ Omnimaga (28.11.2016 23:01:31)
God invented the pc, satan the smartphone I guess ~ p4nix (16.02.2017 22:51:49)

kotu

#149
Quote from: p2 on January 19, 2017, 08:42:20 AM
I wonder, how many bullets can the red ones take?
and how fast are the blue's guns?
one shot fired and the next one after the previous one hit? or one every second? :)
(for the calc game later)

try it out


*edit
thought i could give you the stats...

   LRM_RELOAD_TIME = 3.2 s
   SHELL_RELOAD_TIME = 2.0 s
   LRM_VELOCITY = 160.0 m/s
   SHELL_VELOCITY = 420.0 m/s
   LRM_DAMAGE = 0.3
   SHELL_DAMAGE = 0.5
   LASER_DAMAGE_PER_SECOND = 0.41

   Daywalker HP = 1.9
   LRM HP = 1.0
   Tank HP = 1.6
  • Calculators owned: TI 84+CE-T
  • Consoles, mobile devices and vintage computers owned: Sega Master System, Sony PlayStation 3
SUBSCRIBE TO THE FUTURERAVE.UK MAILING LIST
http://futurerave.uk

Powered by EzPortal