Author Topic: [Lua] Hill Climb Racing  (Read 23297 times)

0 Members and 1 Guest are viewing this topic.

Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: Hill Climb Racing
« Reply #15 on: July 24, 2014, 11:14:27 am »
That would of course be pssible, but the script would have to find places that can be avoided by jumping over them. I'll wait for that until I have finished the basic game.
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]

Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #16 on: August 19, 2014, 06:56:06 pm »
A month later doublepost seems okay :)
After being on holiday for two weeks I've been coding again and finished an improved version of HillClimbRacing.
It features:
- dynamic car-loading from tables: this might be interesting for loading addons
- fuel (needs some improvement): You can only race as long as you have enough fuel
- a new and better car
- better vehicle physics (springs are working now)

Problems:
- post-step callbacks crash the emulator, but works fine on real hardware. Quick workaround provided
- the game runs really slow on the calc and I'm not sure what to do :(

Plans for next versions (unsorted):
- dynamically loadable maps
- control of vehicles in flight
- coins
- better fuel
- menu and GUI
- highscores
- upgrades
- driver who can break his neck
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #17 on: August 19, 2014, 08:48:14 pm »
It told me I needed an update... then I realized that I had been using my 3.1 cas os on my cx lol. Switched to 3.6, tried it out, and it's definitely nice! Looking forward to future updates :D

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #18 on: August 19, 2014, 09:08:57 pm »
Add nethams  (blue lobsters) :D

(and sunfishes :P)

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Hill Climb Racing
« Reply #19 on: August 21, 2014, 12:14:34 am »
I'll give this a try when I decide to install nLaunchy+OS 3.6. Could someone make an animated screenshot or video?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: [Lua] Hill Climb Racing
« Reply #20 on: August 21, 2014, 06:40:14 am »
Haha I can launch my car by dropping ones on it, thus cheating... :evil: :P

Anyway, it's fast enough on TINCS, but I'm too scared to try on the handheld :(
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #21 on: August 25, 2014, 07:00:32 pm »
Another Update:

New Features:
- Fancy driver who dangles around in the car and breaks his neck if you are not careful enough :)
- You can restart the game without closing the document
- Better fuel-distribution
- Vehicles can be rotated in mid-air
- Highscores which can be restored after reopening the document (They won't survive the next update though)

After some small adaptations it runs surprisingly fast and smoothly on the handheld. It still runs better in the emulator though :D

Planned for the next updates:
- Menu System
- More Tracks
- More Cars
- Coins (I'm not sure whether they should be coins or something else)
- Some Secret Features :P
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]

Offline Vsod99

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +1/-1
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #22 on: August 25, 2014, 07:45:14 pm »
Another Update:

New Features:
- Fancy driver who dangles around in the car and breaks his neck if you are not careful enough :)
- You can restart the game without closing the document
- Better fuel-distribution
- Vehicles can be rotated in mid-air
- Highscores which can be restored after reopening the document (They won't survive the next update though)

After some small adaptations it runs surprisingly fast and smoothly on the handheld. It still runs better in the emulator though :D

Planned for the next updates:
- Menu System
- More Tracks
- More Cars
- Coins (I'm not sure whether they should be coins or something else)
- Some Secret Features :P
Cool! I'll try it out now.

Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #23 on: August 28, 2014, 06:11:39 pm »
Simple Menu System is there now with a brand new car and and another track :)
Check it out
VVVVVVV
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]

Offline LDStudios

  • Coder Of Tomorrow
  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 388
  • Rating: +41/-1
    • View Profile
    • LD Studios
Re: [Lua] Hill Climb Racing
« Reply #24 on: August 29, 2014, 02:20:47 pm »
Nice work!
I think the cars should definitely have higher acceleration though, because i keep getting stuck, and its impossible to make any good jumps.



Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #25 on: August 30, 2014, 02:14:39 am »
I'm working on upgrades you can buy for coins collected ingame to solve that problem. But that will take some time as I'm on holiday for a week now and school starts after that, so I'll have less time to work on the game. Upgrades are the next feature I want to implement though.
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]

Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #26 on: August 30, 2014, 02:24:20 am »
The next updates will take some time as I'm on holiday for a week now and school starts after that. But the next planned feature is an upgrade system to improve your car. The upgrades will have to be bought with coins (or nethams) collected ingame. With these it will be possible to get further without getting stuck.
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: [Lua] Hill Climb Racing
« Reply #27 on: August 30, 2014, 10:06:19 pm »
Ah ok, good luck with school and hopefully you have some free time. :)

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #28 on: August 31, 2014, 12:58:01 am »
So do you run into Nethams (blue lobsters) in the road to gain nethams?

Offline CinusMinus

  • LV3 Member (Next: 100)
  • ***
  • Posts: 43
  • Rating: +4/-0
    • View Profile
Re: [Lua] Hill Climb Racing
« Reply #29 on: September 29, 2014, 06:07:07 pm »
It's finally there: the newest version with coins and upgrades included :D
I finally chose coins, because they are a bit more handy than giant chunky lobsters and small lobsters just don't look good.


New Features:
- Upgrades, which help to get further
- Coins to buy upgrades

Plans:
- Add some more cars and tracks you can unlock (and of course a feature to unlock cars and tracks  ::) )
- adjust prices, but I'll wait for your feedback first :)
Projects:
Chicken Invaders [Finished]
TI.Image Tools [Finished]
MC2D Texture Pack Creator [Finished]
HillClimbRacing [In Development]