Game Development Community

Simon Almqvist Pettersson's Forum Posts

Thread Post Date Posted
Changing orientation during run-time problem, iTorque 1.5 I have now tested some more. On iPad 1 and non-retina iphones the rotation is like I described above... read more 06/04/2012 (12:33 am)
Changing orientation during run-time problem, iTorque 1.5 I am out of town during the weekend, but I will get more details on monday. The retina fix for iPad ... read more 06/03/2012 (12:44 am)
Can't figure out how triggers work on T2D 1.7.6 Window 7 64bit Scene objects with collision doesn't work as good as triggers when you want an object to be able to ... read more 05/14/2012 (11:38 pm)
Use file paths correctly to load files I use a shorter path, like exec("gui/guifile.gui"); or exec("scripts/filename.cs"... read more 05/14/2012 (11:23 pm)
How to delete objects nicely under 1 function 1 by 1 How about using a global onMouseDown and then checking which objects it hits. [code] function scen... read more 04/29/2012 (11:44 pm)
PVRTC compressed images created in PVRTexTool v.3.31 or higher does not load. Ok, thank you for a very good answer. I'll stick with PVRTexTool 3.23 then.... read more 04/24/2012 (8:03 am)
HOWTO - Multiple Imagemaps on a single texture I have also tested this approach described in the beginning of this thread and it seemed to me that ... read more 03/12/2012 (12:33 am)
Complex Image Maps Worth It? I'm not sure if this is what you were asking about, but as far as I know the standard way to get ani... read more 03/08/2012 (5:14 am)
force 16 bit and PNG 16 / RGB4444 Yes the pow2 can really be a bummer with pvr. But if you use large sprite sheets so that you can uti... read more 03/08/2012 (4:58 am)
force 16 bit and PNG 16 / RGB4444 My tip would be to use pvr images for as much as possible. It really saves a lot of memory.... read more 03/07/2012 (7:42 am)
(Resolved) Is there better way to save ram on Animation? Yes, PVR images does degrade the quality of the image, but if you need the memory savings it provide... read more 02/17/2012 (12:57 am)
(Resolved) Is there better way to save ram on Animation? I think PVR images is the way to go with large animations. To my knowledge a PVR image only uses as ... read more 02/16/2012 (8:24 am)
(Solved) I have some PVR image but cant load into Itorque 1.5? Sorry, I misspelled the 4bb. To clarify, I am using the PVRTC 4BPP under the openGL-es 2.0 tab. With... read more 02/14/2012 (8:43 am)
(Solved) I have some PVR image but cant load into Itorque 1.5? I did a test with loading images until memory warnings started to occur on an iPad. At seven 2048x20... read more 02/14/2012 (7:16 am)
Bug with PVR and Tilemaps? I basically only use PVR images, since they eat a lot less memory. The compression artifacts and ble... read more 02/12/2012 (11:48 pm)
Color sampling per pixel from static sprite in a layer Yes it should be possible. I have done a similar thing to check a pixel's transparency value. Should... read more 02/07/2012 (2:04 am)
Mac Intermittent speed problems? I am using iTorque on a mac and have some big fps-drops every now and then when I play from the edit... read more 02/01/2012 (3:54 am)
[REQUEST THREAD] Add your TGB request here @Michael - Yes I have both scaleTo and fadeTo working through scripts, but I use them on over 100 ob... read more 12/18/2011 (11:41 pm)
[REQUEST THREAD] Add your TGB request here functions for fadeTo() and scaleTo(). Similar to how the existing moveTo() and rotateTo() functions ... read more 12/15/2011 (11:38 pm)
How can I slowly fade out an animated sprite? Every function that belongs to a class has the first argument as the object itself. function class... read more 12/01/2011 (4:57 am)
How can I slowly fade out an animated sprite? Did you send in an alpha value to start with when initiating the fade? %object.fadeOut( %object.g... read more 11/30/2011 (5:54 am)
How can I slowly fade out an animated sprite? I have used the method Marc describes several times and it works quite well. Here is an example: ... read more 11/29/2011 (11:30 pm)
a question about streaming sound ok, thank you for the answer.... read more 11/14/2011 (11:31 pm)
The little white line on animation problem: What are ideal Resolution, Mode, and bit depth to set when exporting adobe illustrator vector files to animation frames for iTorque? I think I found a solution. After some testing I noticed that the flickering line that appeared i... read more 11/07/2011 (2:27 am)
is it just me or is onPositionTarget sketchy? It works good for me. I have not experienced problems with onPositionTarget yet.... read more 11/04/2011 (12:20 am)
is it Possible to use PVR images on GUI Elements? Tested it again, this time I altered the .pvr version of the image so that it was clearly different ... read more 11/02/2011 (9:46 am)
is it Possible to use PVR images on GUI Elements? It seems to work for me, tested it with a GuiBitmapButtonCtrl. I removed the .png file and only kept... read more 11/02/2011 (6:17 am)
The little white line on animation problem: What are ideal Resolution, Mode, and bit depth to set when exporting adobe illustrator vector files to animation frames for iTorque? I noticed that the white line can be caused by the "optimised = 1" setting for the datablo... read more 11/02/2011 (2:04 am)
The little white line on animation problem: What are ideal Resolution, Mode, and bit depth to set when exporting adobe illustrator vector files to animation frames for iTorque? I have tried with or without filterpadding and filtermode as SMOOTH or NONE, but it can still appear... read more 11/01/2011 (9:33 am)
The little white line on animation problem: What are ideal Resolution, Mode, and bit depth to set when exporting adobe illustrator vector files to animation frames for iTorque? I have also had the white line on occasions, but I never figured out what caused it. It would be rea... read more 11/01/2011 (12:55 am)
1.4.1 Old Level Files not saving in 1.5? I experienced the very same things when converting to 1.5. To get the image maps to show I have t... read more 10/31/2011 (7:40 am)
object reading others behavior? A suggestion, you could replace your all 14 similar looking if statements (like the one below)... ... read more 10/27/2011 (11:33 pm)
How to slow speed in Pathing? There are callbacks for when an object following a path has reached a node or reached the last node.... read more 10/23/2011 (11:37 pm)
Text Object Fuzziness Question How did you get the png fonts to work?... read more 10/17/2011 (11:21 pm)
Text Object Fuzziness Question The fuzziness can be caused by too low font-setting size for the textObject in the actual level file... read more 10/16/2011 (11:53 pm)
How to zoom out while keeping the bg the same size? It can be done by having a second scenewindow before the normal sceneWindow2D and loading a separate... read more 10/12/2011 (11:54 pm)
Camera Refuses To Mount That's a good question. I don't find any function that does that for the camera, but for t2dSceneObj... read more 09/27/2011 (11:55 pm)
Camera Refuses To Mount $camView.getIsMounted() should only return 1 if the $camView object is mounted to something. You can... read more 09/27/2011 (4:21 am)
How to change a cursor? [code] new GuiCursor(cursorName){ //hotspot is how many pixels into the image you want the ac... read more 09/22/2011 (11:36 pm)
Camera Refuses To Mount Have you tried to print out the values of %this.owner, %this.Xmount, %this.yMount and %this.mountFor... read more 09/21/2011 (11:42 pm)
sceneWindow2D.loadlevel not working. For me a black screen is often the result of missing datablocks. Have you checked that you have a da... read more 09/21/2011 (11:24 pm)
PVRTexTool Yes, the PVR files can often become bigger than the .png version. But .pvr-files load faster and use... read more 09/20/2011 (12:07 am)
Hiding Static Sprites in TGB You can load them with a separate datablock while playing. Then you don't need to have them inside t... read more 09/06/2011 (2:50 am)
Scroller Loop Question (solved) I think that the images you use for a scroller has to be in square and power of two size. 64x64, 128... read more 07/07/2011 (1:46 am)
animated sprite not showing up Make sure that the 4-cell-image that the animation uses is above it in the datablock file. I have so... read more 07/01/2011 (2:52 am)
unstoppable Schedule HELP! you can try the follwing: if( isObject(%object) == true ){ }... read more 06/17/2011 (5:37 am)
Save and Retrieve a Score at iPad in iPhoneFileIO.mm... read more 06/17/2011 (3:55 am)
Save and Retrieve a Score at iPad You can use the following to save a value: iPhoneSaveStringToDevice(%placeName, %value); and the... read more 06/16/2011 (11:57 pm)
fish tut/ random layer You can use %this.layer = getRandom(1, 15); And if you want to control which objects get drawn on... read more 05/31/2011 (2:32 am)
How to exclude certain devices from buying your app? You can add a UIRequiredDeviceCapabilities to your .plist file, it states what is required. So if yo... read more 05/24/2011 (12:16 am)
Page «Previous 1 2