got the first tutorial to work..the journey begins
1 reply [Last post]
relishguy
does not have a status.
User offline. Last seen 14 weeks 1 day ago. Offline
Joined: 05/10/2010
Posts:
Groups: None

I am impressed that this code worked OOB! I only had one small episode with "Local Folder" and "Sync".


Anyway, now I want to make some changes to make this think closer to what I am trying to build.



  1. the code references "ecanaan/lowpoly_sphere"...how can I see this and/or make/embed my own art?

  2. the code references "asmedberg/bobblePenguin"...how can I see this and/or make/embed my own art?

  3. where do the 2 cubes in the scene come from? I cannot find these in the code...

  4. How can I change the name from "default_scene.scene"?

  5. Is it possible to make an action happen if the hit a particular penguin? Specifically, I want to open a browser pointing to one of my other sites. Is this possible?

  6. Could the action (if they hit the right one) run an arbitrary piece of JS or HTML (created by me)?

Thanks in advance for this.


Regards..relishguy

javierMtz
just published a little update of my game
User offline. Last seen 6 hours 46 min ago. Offline
Joined: 02/23/2010
Posts:
Groups: None
1. you can upload your own

1. you can upload your own art from a 3dmodeling software (maya, 3dstudio max or blender3d) check the exporters tutorials. Then you can change "ecanaan/lowpoly_sphere" for "relishguy/someart.geom"

2. you can upload your own art from a 3dmodeling software (maya, 3dstudio
max or blender3d) check the exporters tutorials. Then you can change "asmedberg/bobblePenguin"
for "relishguy/someotherart.geom"

3. they come from the builder, just drag and drop stuff in the builder and they are loaded when you run your pocket even if you have a single line of code.

4. in the builder click save as.. and put a diferent name, then deletethe old file.

5. maybe running a js

6. in http://www.wildpockets.com/build/manual/wild-pockets-api#class-Utils theres a function called safeExecuteJavascript I haven't used it. It runs a defined javascript function. it may help you.

Good Luck!