Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Physic is... useless?
Started by tima.xxxyyy Dec 27 2019 08:53 AM

2 replies to this topic
physic platformer
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

tima.xxxyyy

[GLOBAL: userInfoPane.html]
tima.xxxyyy
  • Observer

  • 13 posts
  • Corona SDK

I'm still new to corona(I didn't use it some time). So i want to make platformer.BUT i tried to use physic library for jumping - and character too bouncy. But i can create a function that changes y of character. Soooo...

What should i do?



[TOPIC: post.html]
#2

ojnab

[GLOBAL: userInfoPane.html]
ojnab
  • Contributor

  • 595 posts
  • Corona SDK

You should read the guides.

https://docs.coronalabs.com/api/library/physics/index.html


  • pixec likes this

[TOPIC: post.html]
#3

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Corona Geek

  • 1,103 posts
  • Corona SDK

When and where to use physics completely depends on your needs. Calling a physics engine useless just because you don't know how to remove bounce from an object is a stretch.

 

You can create a simple platformer with or without physics, but I would wager the physics route is easier in general if you aren't an experienced programmer. Do just like @ojnab said, i.e. rtfm. :D




[topic_controls]
[/topic_controls]

Also tagged with one or more of these keywords: physic, platformer