I'm starting to make a side scrolling platformer and I was just wondering if anyone had any ideas about how to make the main character control better.
What I have so far:
class Player extends FBox{
PImage b = loadImage("alen.gif");
Player(int x, int y){
super(64,128); //The image is 64x128
setPosition(x, y);
attachImage(b);
setFriction(1);
setRotatable(false);
setRestitution(0);
}
}
What I would like:
The character to not slide when you stop moving/no acceleration or any other things you think would make him control better. I definitely need to change it so that if you hold the space bar longer he jumps more, but that I can figure out.
Thanks!
(Every comment is very much appreciated and I will do my best to give back to the community that has answered so many of my questions! Thanks!!!)
When I run sketches full screen my frame rate drops down to like 10 fps when I am using Ubuntu. However in Windows it doesn't seem to put much pressure on the computer at all.
Is this something that I'm going to just have to live with and accept that running Processing in Ubuntu is significantly less efficient than running it in Windows? Or is this an error and shouldn't be happening?
Anyway, if anyone knows of something that I may be doing or a fix, I would love to hear it. So yeah let me know!
I am running Ubuntu 11.10 with Processing 2.0a and I am having some annoying problems adding tools.
I tried putting both "fjenett-doodle-79cea35" and "fjenett-simplelivecoding-66160f0" in the
tools folder that is located inside the folder that I put all my sketches in at default (I guess that is the sketchbook folder).
I then opened a sketch and when I clicked "Add Tools" it didn't show up as a tool I could to add.
After that, I went into the specific sketch that I was going to run and I created a tools folder, copied the tool into it, and tried it again. Still no luck.
Does anyone suggest I try something else? Am I doing anything wrong? Are there compatibility issues?
**Kinda solved. I just updated to Processing 2.0a and the problem was solved.**
Actual Problem:
I have installed the Andriod SDK to my Home folder and downloaded API level 7 & 8 as well as the SDK Tools. I got up to the 6th step in
this tutorial:
But then when I typed
adb devices it didn't recognize the command adb(No command 'adb' found).
However, that may not be the issue because Processing allows you to specify the folder that your Andriod SDK is located in. Just in case that isn't the problem here is some more info: