3D Car Simulator- Released (by JojoDude)

competition
top5win
leaderboard

#21

Awesome! Thanks buddy.


#22

Here:


#23

Could I have a link? I can test it for you.


#24

It was in the top post and the one that POMTL were tagged in but here:

https://c.gethopscotch.com/p/z6rojj7qg


#25

This version was so much smoother and it improved the experience a lot. The old version was not bad, it was good, but I like that you (with help of some other people like @BlastFusion and @ThinBuffalo.) have solved the bugs. Great job :slight_smile:


#26

I’ll have a look at in soon, hold on.


#27

It’s really awesome. 1 tip is that I’d make the other car 3D as well. It just looks a bit ‘off’ with one 2D and one 3D car.


#28

Thanks so much! Can you possibly give a screenshot of your best score to put on the leaderboard? I think I’ll struggle to find five people who want to be on the leaderboard, let alone a “Top 5”.


#29

I had initially planned this. The other cars were 3D and coloured brown (before brown became and option). However, the 3D Car would spawn in normal then become a brown sludge as it moved on screen.

I wish I had taken a screenshot to have shown you but unfortunately, the way this is coded, I can’t get that to work just yet.

Could you post a screenshot of your best score for the leaderboard?


#30

Yeah, I will do that when I have time. Remind me if I forget to post it.


#31

Here’s that reminder :slight_smile:


#32

@Jojo
Here you go. I gave it one try:

The young Hops here have to have better reflexes than this old guy…


Just a note: the When Bumps rule causes lag (the 2D car slows down momentarily) when the objects are close to collision, i.e. when the 2D passes by the 3D car in the other lane. Have you noticed this?

If the When Bumps rule is replaced with a Conditional (“math”) Rule the lag can be avoided. Let me know if you’re interested and want help.


#33

Yeah, that had been my last issue with the game up until now. I didn’t really feel it took away from the gameplay as the car only slows down as it passes you but I’d really appreciate some help with getting rid of that bug!

I also might add some more levels. Looks like it’s too easy for you @ThinBuffalo :stuck_out_tongue:


#34

:wink: I don’t think I could have gone any faster.

To fix the lag, you’ll need to replace the Bumps rule, with the conditionals below.

In the conditional rule, you’ll need to reference existing object traits (variables) to tell when the cars have collided. Give it some thought…


#35

Ah yes. Ok. Maybe when their positions are the same the car dies. But then the 2D car would need to be in the MIDDLE of the 3D Car to kill it so no…

Uhhh…

I’ll figure something out, I guess


#36

You’re on the right track :smiley:

So… how much would the 2D car need to the left or right of the center of the 3D to be touching… Hint: the conditional will have these < >


#37

I thought it would use less than and greater than.

The only thing I can think to do is check if it’s less than or greater than 3D car’s position +/- 3D Car’s width but Hopscotch won’t tell me the width of the car…


#38

Hint: check out my Pokemon game and go to the text: ‘you; red’ and the first rule is a detoured bumps rule.


#39

You two and your “Hints”…

;D okay


#40

This is pretty cool! Sadly I can’t play… good luck on the project!