Hi,
I plan to release this game on the iphone pretty soon however i'm in need of assistance. My development environment is Ubuntu 10.10 32-bit using CodeBlocks as my IDE.
The issues i have if anyone cares to lend a hand so i can finally release the darn thing are as follows:
1. including "btSoftBody.h" give weird errors like "error: expected identifier before numneric constant" ..line 94 which equates to "None" enumerant
///eFeature
struct eFeature { enum _ {
None,
Node,
Link,
Face,
END
};};
Nothing i do seems to fix this and it is imperative i get "softbody" physics working. Also ball movement sticking to walls any suggestions? I've included a screenshot to wet your appetites
Ultimate Breakout uses bullet physics
Ultimate Breakout uses bullet physics
- Attachments
-
- really nice old school effects
- ubreakout_shot3.png (298.98 KiB) Viewed 10082 times
-
- ubreakout_shot2.png (511.18 KiB) Viewed 10283 times
Last edited by shomy2k11 on Sat Sep 17, 2011 11:19 pm, edited 1 time in total.
- Erwin Coumans
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
- Contact:
Re: Ultimate Breakout uses bullet physics
That looks great! I move the discussion of the topic to the relevant forum section.
Usually this means that there is a conflict with other header files. Try to include btSoftBody.h before any of the other header files (and also check precompiled header files)1. including "btSoftBody.h" give weird errors like
Re: Ultimate Breakout uses bullet physics
Wow!
I've tried that but still the same error pops up again and again. So I tried creating a dummy project with just bullet files linked and it works....bummer. I never tought i'd see the day when including a simple header file would have me stumped . Simply removing the header files the code compiles and runs perfectly.
I've tried that but still the same error pops up again and again. So I tried creating a dummy project with just bullet files linked and it works....bummer. I never tought i'd see the day when including a simple header file would have me stumped . Simply removing the header files the code compiles and runs perfectly.
-
- Posts: 14
- Joined: Fri Oct 14, 2011 12:10 am
Re: Ultimate Breakout uses bullet physics
It's probably too late now, but try
#undef None
before including the soft body stuff.
#undef None
before including the soft body stuff.