chrisbrobs's Forum Posts

  • Not sure the above method will work with text however, as it is just 'pasted on the canvas'

    The text is written inside 'inner' part of the HTML_Div...thats what creates the page turning effect....My dropbox is still down, but there is a couple of examples included with Podes Plugin.

  • You can do this with the HTML_Div_Pode Plugin.

    I have a working example, but I cant get into my my Dropbox account to post it.

    This is how I did it:

    1, Place an HTML-Div element into your level (This will represent your pages)

    2, Set the the div CSS Style to "background-color:blue;text-align:center;"    (This is the page color, you can choose any color)

    3, Set the innerHTML to <h2>Welcome!</h2>Page turning example! click the left arrow to open the page...then click the right one to close it...Blah...Blah...Blah. (This is the page content)

    .......Or use an photo or picture taken from a book instead.

    4, Insert a Button "page turn" with a variable called "open" (set to zero)

    5, When the button in pressed, set the variable "open" to 90

    5, Use the following event......variable "open" >0.....subtract 1 from "open" , and Rotate HTML_Div on the (0,1,0) axis, of -1deg

    This will rotate the HTML_Div 1 degree, every tick to simulate the PAGE turning (until the variable "open" reaches zero)

    6, Repeat the above for the rest of the Pages.

    Further reading...."Understanding-css-3d-transforms"

    LINK

  • Great game, great graphics, great audio.

    <img src="smileys/smiley1.gif" border="0" align="middle" />

  • But if I have DX11 (as required for Windows 7) CC should not install old version. And why You think alert is caused by DirectX files?

    Did you read the post below?

    LINK

    -------------------------------------------------------------

    I'm sure about MY GAME, but my PLAYERS (maby) not. That's the point. If alert shows only on my PC I will ignore it, but I tested it on 3 difference PC/notebooks.

    When I enable/disable some python files [when exporting to exe] for few exe avast show alert. And that is not caused by one exe (example my game). I try it on examples from CC and still had alert.

    I will just warn about fake alarms (caused) by avast in description of my game.

    Are you aware that the PLAYERS machines also have to have the correct set of DXfiles installed in order to play your games, they are not automatically created in the games that you distribute.

    -------------------------------------------------

    I also managed to find an old Post that might be connected (below)-

    "Naing Linn wrote@

    When I run games created with construct classic I am meeting a problem of " KEY LOGGER "error message from Kaspersky antivirus software .Another problem is that I cannot use all keys of keyboard.

    May I request Scirra to solve the problems in the next version of construct software.

    You might need to update your DirectX files (from Microsoft's site)

    I think your missing d3d8.dll ? (not 100% sure about the exact name)

    "This false positive is triggered by a dll. hook watching for keyboard and mouse imput in windows"

    I could be wrong...but you could Google to check!"

    ---------------------------------------------

    JUST TRY THE DXUPDATE...Even though you have version 11 installed you could be missing a couple of small fixes released in 2008.

    I am going to bed now because i have an headache.

  • Dx9 is required for CC to run, so obviously its installed, otherwise the program wouldn't run.

    I too have Avast installed, and the sandbox feature kicks in from time to time. It has nothing to do with the antivirus. The sandbox is there for programs you aren't sure about.

    ----------------------------------------------------

    "Windows XP users who keep their machines up to date should all have DirectX 9.0c installed and likewise Vista uses will have DirectX 10 and Windows 7 users DirectX 11. However the D3DX dlls (and sometimes others like XAudio) get updated every few months (when a new SDK is released) and so many users get errors about missing d3dx9_xx.dll.......

    .Don?t mix Beta DLLs with their correspondingly named non-beta DLLs,? Microsoft warned. ?The Direct3D 11 Technical Preview in the November 2008 DirectX SDK provides a dxgi_beta.dll that is different from the dxgi.dll included in Windows Vista. Developers should not use interfaces from one of these DLLs with the other as it may cause issues that are difficult to track down. The recommendation is that if you are using a beta DLL, don?t link to the correspondingly named non-beta DLL.?

    Iv'e seen quite a few articles regarding errors caused by the above.

    Better to eliminate it from the list ? its free.

    <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Nope. I dont update DirectX.

    ---------------------------------------------------

    Are your DirectX files uptodate?

    Can you provide a translation for the error(in English)

  • rexrainbow@

    Sorry for missing this thread.

    Yes, sprite bank could save instances positions\sizes then transfer to a JSON string. It could be send to server. And finally, sprite bank could be used in parsing this saved (JSON) string then create them (by plugin).

    But, it's pity that we need send data to server then receive them instead of save them directly.

    I found it --File system on HTML5, but I'm not sure what's it.

    ------------------------------------------------------------

    Thanks for info, I will download and read (but if your not sure what it is, what chance have i got!)

    ------------------------------------------------------------

    Pode@

    rexrainbow & chrisbrobs : you can access filesystem in HTML5 on recent build. You can use shims like Filesaver.js (http://eligrey.com/demos/FileSaver.js/.

    If I have the time this week, I'm going to make a plugin of that.

    ---------------------------------------------------------

    I will look forward to seeing your plugin

    ----------------------------------------------------------

    I have got templates for all phonetypes...Android, Apple and Blackberry.

    So it could be a universal menu creator, if i can find a way to implement it.

  • chrisbrobs

    The concept of sprite bank plugin is very simple: it stores properties of instance in a hash table, then use JSON to transfer hash table into string.

    I failed to access file system by javascript since browser can not allow user to do this, local data only can be saved by webstorage (as I know)

    So currently, sprite bank plugin is not suitable in this case.

    ---------------------------------------------------

    The idea was to have the elements(buttons, background etc) stored on the server. After the user creates the layout and saves it....the sprite positions\sizes would be saved in a format that C2 would be able to read?

  • Match 3 example..(using open source borrowed code in C2 IFrame plugin)

    <img src="http://dl.dropbox.com/u/22173473/match3splash.png" border="0">

    Original code not my creation.

    You can get it here:

    Source

    Game play

    ----------

    1,Normal match 3 rules

    2,Blocks that contain a letter 'B' are Bomb squares and will destroy all adjacent blocks when matched.

    3,When game starts bottom div displays Points, Combo's...etc

    4,No sound

    Perhaps somebody could convert it to C2 ?

    PLAY GAME

  • Hello,

    Long time I used CC and I never had alert from antivirus when I ran my game (in CC -> Temp2.exe). Past few days I still have problems like this: Make game -> Want to test -> Alert from anitvirus about run game in sandbox. When I save my game as exe I have the same problem and same alert (tested it on 2 difference pc with the same antivirus).

    I use Avast (with new layout). Win 7 and CC 1.02

    Ok, I can turn off sandbox function in Avast (on my PC), but what be with people who want play my game?

    Probably help if you provide full details of the alert?

    Have you updated your DirectX files after installing Construct?

    I use Avast, only ever seen 1 Alert and that was because I tried to manually update DirectX instead of using the Microsoft update method.

  • It looks great! Thank you for sharing that!

    Thanks, I'm trying to work out a way to do the same thing but with C2 as the menu creator, where you just drag and drop buttons and components into the window and it allows you to save the objects positions...sizes..ect as a template that C2 can load.

    I know there is a sprite bank plugin, but Im not 100% how to use it, or if it would even work?

    <img src="smileys/smiley5.gif" border="0" align="middle" />

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Working fine on Chrome, 60 fps (nice model by the way!)

    I posted links to my collection of low poly .obj models with textures, on the C1 forums:

    LINK

    Feel free to use them if it helps.

  • Couple of questions regarding Senteza for ios:

    1,Does anybody use 'Senteza for ios' to convert there Construct games to 'ipa' files.

    2, Does it work?

    3, Is there any way to test the 'ipa' files on a windows PC.

    Couple of cheeky questions!

    4, Has anybody got a manual for it, that i could have ?

    5, If the answer to question 3 is NO, would anybody be willing to test a Construct game that i converted using the trial version of senteza), and let me know if it works(plus FPS) on the iPhone (i think it requires a 'jailbreak' phone).

    Project files (1.8meg)

    File Contains 2 copies of the same game, with different screen res.

    1, CowDerby1.ipa: Game 320X240,   Full screen in browser(scaled)

    2' CowDerby2.ipa: Game 320x240,   No scale

    3, Screen shot

    Both files created with Sentenza for iPhone v14.

    Thanks in advance

  • Managed to get it working with Firefox(really slow, poor render), but Chrome fails to load it.

    I'm not sure how your plugin handles the rendering, but your .obj model apears to be way too complex?

    An example 'Blackberry' model on the left contains 282 Points and 560 Facets. (82.kb)

    Your 'iPhone' model contains 29805 points / 53829 Facets (3.8 meg) ! !

    <img src="http://dl.dropbox.com/u/22173473/myrender.png" border="0">

    Surely this must have an impact on the plugins performance.

    Example model link, if needed:

    Berry.rar

  • Quick note for anybody using this software.

    If you want to view local projects in the test centre, click this button:

    <img src="http://dl.dropbox.com/u/22173473/MobiOne%20pic2.png" border="0" />

    browse to the folder on your hard drive, and select the index.html to load it.