scidave's Recent Forum Activity

  • Bump.... Please run and test, I'd like to see if certain operating systems get errors that I'm not getting. Just in case you don't want to run an executable here is the .cap and dependencies:

    http://www.box.net/shared/brjqulxnje

    You will need to extract the library.zip file into your Construct/Data/Python directory and then reopen Construct and select all the .pyc files. Let me know if you know a way to not manually click every single .pyc. Then copy the python26.dll and the rest of the dependencies into your export directory. Make sure you unzip the standard.zip file as well. ..... or just run the executable.

    No responses necessary, I'll assume that if there are alot of downloads, but no negative responses that this works.

    Thanks!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Thanks for all of the kind words. I had lots of free time a couple months ago, but unfortunately have been real busy lately with a change in job and location.

    Good news is that I have recently figured out how to build external libraries with Python very reliably and so will do a tutorial on "Python Scripting with Artificial Intelligence Chat". It will show how to add really smart NPCs to your game by importing, customizing, and using a Python library.

    Here is a simple example program using the module. It can make for some really funny chat sessions. If this causes anyone errors, please let me know to help better troubleshoot.

    http://www.box.net/shared/6zljyhkrgk

    <img src="http://i48.tinypic.com/2cp6jxs.jpg">

    The tutorial will also show how to setup a Python dev environment so that end users don't need to install Python to run the game. I just started on it so hopefully will have it out in another week or so.

  • It would be a huge help for complex python programs developed in Construct if we had an option when building an executable to check a box to include "all python .pyc" found in the Data/Python directory. Right now you have to manually click each and everyone that you need, which can be tedious.

    Edit: Oh and there should be an option to do this per subdirectory too, just in case we don't want to include every single sub directory we have. Thanks!!!!!

  • The errors you are reporting makes me think you are using a version of Construct before .99.82. I got those same error messages with earlier versions. You should try again with .99.82.

  • Looks like a bug to me.

    It works with a system compare: http://www.box.net/shared/r7e570ye1b ,but I couldn't get the array compare to work...

  • My bad.... Yes, Ember is a really sweet program. I am somewhat impressed.

  • i changed from os to program so i would appretiate if u guys would stop calling it an OS cause it isnt its a program

    Can we lock this thread???? Because this guy is so aggravating it just invites flame wars... seriously why attack someone for giving you advice on a great way to customize an OS (use Linux). Look at the title of your thread!!!!

    I second the Linux idea personally for a good way to learn about OS's. But you are free to build whatever you want to, just change the name of this thread then.

  • What???? Are you a bot, because that's crazy talk about making an OS in Construct. You would have to do nearly all of the core code with plugins to have low enough level access. Interesting idea though.

  • Do you have a duplicate event somewhere? Have you tried adding a "Trigger Once While True" to the event?

    A .cap would help especially since you said it worked fine at one point.

  • oops.. sorry. After Deadeye posted, your question makes a lot of sense. The big problem I see is that you want the user to destroy the desktop and I am assuming this is the desktop as Windows first boots. He/she might have several windows open which even if you automated a screenshot using Python or something else you wouldn't get the "real" desktop.

    One way to do it, arguably somewhat ghetto, is to have the player take the screenshot. You could flush the clipboard using the System action at the start of the layout, pop up a message box asking for the user to "goto the desktop" and take a screenshot, then save the image using the Image Manipulator. Then just use a while loop to confirm they actually saved it...before starting game.

    Here is an example: http://www.box.net/shared/pi0gbddbdc

    You could also do this with the PyQt4 module. Unfortunately, I can't get Construct to place nice with this even though it works flawlessly outside. You have to download the PyQt4 binary installer, Sip and MinGW to run this.

    import sys
    from PyQt4.QtGui import QPixmap, QApplication
    app = QApplication(sys.argv)
    QPixmap.grabWindow(QApplication.desktop().winId()).save('game.png', 'png')[/code:3fk2egjr]
    
    Cheers!
  • This question doesn't make any sense, which is probably why it is not being answered. Who is the other user and what screen do they have??

    You could take a screenshot using Python and the "gtk.gdk" library.

  • Great vid and game! I noticed the weird errors with jumping, caused me to die several times. I tried shooting at the big blob at the end several times, then decided it was safe to run past him. oops!! It's a funny bug where you can still run around and shoot invisible. Nice for a 4 hour.

scidave's avatar

scidave

Member since 4 Jul, 2009

Twitter
scidave has 1 followers

Trophy Case

  • 15-Year Club
  • Email Verified

Progress

16/44
How to earn trophies