Omnimaga: The Coders Of Tomorrow
Welcome, Guest. Please login or register.
 
Omnimaga: The Coders Of Tomorrow
21 May, 2013, 02:49:25 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   home   news downloads projects tutorials misc forums rules new posts irc about Login Register  
+-OmnomIRC

You must Register, be logged in and have at least 40 posts to use this shout-box! If it still doesn't show up afterward, it might be that OmnomIRC is disabled for your group or under maintenance.

Note: You can also use an IRC client like mIRC, X-Chat or Mibbit to connect to an EFnet server and #omnimaga.

Pages: [1]   Go Down
  Print  
Author Topic: Physics in C -  (Read 330 times) Bookmark and Share
0 Members and 1 Guest are viewing this topic.
Spenceboy98
LV6 Super Member (Next: 500)
******
Offline Offline

Gender: Male
Last Login: Today at 01:08:52
Date Registered: 17 February, 2012, 02:46:51
Location: Gaffney, South Carolina
Posts: 381


Topic starter
Total Post Ratings: +46

View Profile
« on: 28 April, 2012, 01:28:55 »
0

Does anyone know how to do physics in Prizm C? I think I wanna try to make a platformer game.
Logged

DERSH IMPERSHIBER!!!

NerdTests.com says I'm a Nerd King.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!
ruler501
Crazy Freshman
LV11 Super Veteran (Next: 3000)
***********
Offline Offline

Gender: Male
Last Login: Yesterday at 13:50:40
Date Registered: 08 November, 2010, 02:32:33
Location: In a cave with two spots of light and lots of meat
Posts: 2381


Total Post Ratings: +49

View Profile
« Reply #1 on: 28 April, 2012, 01:54:10 »
0

If you found a light C library for physics you could probably use that. I'd think it would be the same since they use a version of gcc to ompile it
Logged


Spoiler for "Projects":
My current games I am working on our:
  I might have an improved C version of this somewhere...
pSDL too lazy too make a userbar so I'll just link to the topic i update routinely http://www.omnimaga.org/index.php?board=146.0
Spoiler for "Misc images of test things":
NerdTests.com says I'm a Dorky Nerd God.  Click here to take the Nerd Test, get geeky images and jokes, and talk to others on the nerd forum!My computer geek score is greater than 100% of all people in the world! How do you compare? Click here to find out!"<br />[url=http://www.nerdtests.com/ft_personality.php?ref=42769
[/url]
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/CS/M/S d- s++: a---- C++ UL++ P+ L++ E---- W++ N o? K- w-- o? !M V?
PS+ PE+ Y+ PGP++ t 5? X R tv-- b+++ DI+ D+ G++ e- h! !r y

------END GEEK CODE BLOCK------
"KnifeOn!  Apply directly to the forehead!  KnifeOn is available without a prescription at retailers nationwide."
PierrotLL
LV1 Newcomer (Next: 20)
*
Offline Offline

Gender: Male
Last Login: 02 December, 2012, 19:26:25
Date Registered: 14 February, 2011, 23:12:59
Location: France
Posts: 19


Total Post Ratings: +2

View Profile
« Reply #2 on: 28 April, 2012, 10:56:47 »
0

In a lot of game, the map is a table where each cell contains a tile. Some of them are solids, others not.
Example in Mario, each block is a tile :

Mario is as wide as the tiles, so he can to be on 2 tiles at the time. So you have to check these 2 tiles under him to know if Mario can fall down.
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by EzPortal
Powered by MySQL Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Powered by PHP
Page created in 0.178 seconds with 30 queries.
Skin by DJ Omnimaga edited from SMF default theme with the help of tr1p1ea.
All programs, games and songs avaliable on this website are property of their respective owners.
Best viewed in Opera, Firefox, Chrome and Safari with a resolution of 1024x768 or above.