-
as seen on Game Development
- Search for 'Game Development'
I'm a software engineer that's new to game programming so forgive me if this is a dumb question as I don't know that much about game engines.
If I was building a 2D game am I better off going with an engine like Torque that looks like it's built for 2D, or would higher powered engines like Unreal…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
I want to create a 2D array that contains many other 2D arrays. The problem is I'm not quite sure what I'm doing but this is the initialization code I have:
int[,][,] chunk = new int[64, 64][32, 32];
For some reason Visual Studio doesn't like this and says that it's and 'invalid rank specifier'…
>>> More
-
as seen on Game Development
- Search for 'Game Development'
Long story short, I know my coordinates are off and I believe my indices might be off.
I'm trying to render a simple 2d rectangle with a texture in webgl
here's the code I have for the vbo/ibo:
rectVertices.vertices = new Float32Array(
[
-0.5, -0.5, // Vertice 1, bottom / left
0.0, …
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
i have a little python script which shows me the packets of an enocean device and does some events depending on the packet type. unfortunately it doesn't work because i'm getting wrong packets.
Parts of the python script (used pySerial):
Blockquote
ser = serial.Serial('/dev/ttyUSB1',57600…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm using MailChimp's API to subscribe email to a list. Function listsubscribe() is used for email subscription:
public static listSubscribe(string apikey, string id, string email_address, array merge_vars, string email_type, boolean double_optin, boolean update_existing, boolean replace_interests…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi everyone,
I have a layout which does almost what I want. There's just one bug regarding the button at the bottom. I should stay at the bottom at all times. But whenever I bring up the soft-keyboard the button will be displayed above the keyboard. This is not what I want but it should become covered…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've just created a prototype of interface for my android app and tried to run it. Unfortunately I get an error that my app has stopped unexpectedly (my reputation doesn't allow me to post images so follow my links):
screenshot of error message
This is layout mode of editing. Everything looks as…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I just updated my app and I am getting some odd complaints from people who update it. I am only getting complaints from people with non-stock android phones (phones that manufacturers have modified...HTC phones, cliq, pulse, etc), other phones like the Droid, Nexus work fine. My app (Photo Frame Deluxe)…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have problems getting some of my views aligned in a relative layout that I use inside a row of my listview.
Here is a screenshot from the layout builder in Eclipse, this is what I think it should look like:
The next image is from the emulator. Now the TestTestTest View is at the top and covers…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Whenever I use a RatingBar view in my layout, I suddenly get all kinds of compile errors. I'm using Android 2.0, but I've also tried 2.0.1, and 2.1, without joy. I also get a message: Shader 'android.graphics.BitmapShader' is not supported in Layout Editor, and an odd warning which may or maynot be…
>>> More