Tekniko's Forum Posts

  • Nimtrix This is what I think needs to happen...

    Check which player can attack

    Check which spell/skill user selected

    Check which enemy the user selected

    Wait for attack button pressed

    On attack button pressed, jump to selected enemy

    Cast previously selected spell/skill

    Calculate damage

    Return player to starting position

    End players turn

    Calculate which player goes next

    (I was thinking of using a timer for each enemy/player)

    So someone with a lower attack-time could attack sooner then someone else with a higher attack-time.

    So, you wouldn't see its switch up like, Enemy/Player/Enemy/Player

    Instead you would see something like, Enemy/Enemy/Player/Player/Player/Enemy/Player

    Here's an example of what I am thinking of doing. Notice the wait time in the bottom right hand side of the screen for each character.

    youtube.com/watch

    Skip to 18:20

  • Nimtrix Okay, I have posted it to my Dropbox. Hopefully this link works for you.

    Link Removed

    Simply put, I wanna know if I should start using functions for this part of my game? This turn based fighting is the most complex thing I have made, thus far.

  • Hey you,

    I am making an RPG game, where all the fighting is "instanced". Like Final Fantasy fighting. Under certain conditions I want the current player to jump out, attack and jump back to its starting position.

    I have got this part down pat. But, looking at all the other variables I am going to need to calculate and so on, the way I am doing it now just seems wrong.

    I am used to Functions in C++. I know there are Functions available in Construct 2. Do they run the same way as C++? Can I pass variables between them?

    Here is a screen of the code I am using right now. Should I continue using this format or switch to Functions? Got any tips/advice?

    <img src="http://img16.imageshack.us/img16/470/fhb.png" border="0" />

  • Tested and works. Thank you Nimtrix

  • Hey you,

    I am trying to spawn an animation in front of the player. A slash animation to be precise. But the only locations I can use are imagepoints that are already set on the player.

    Is there a way to spawn the slash at imagepoint 1 + 40 pixels, or something like that?

    Thank You,

    Stephen

    <img src="http://img845.imageshack.us/img845/9254/u35.png" border="0" />

  • All games on the Arcade are unplayable.

    C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\cd75ef44\28263e97_886bce01\App_Web_oi01w0dg.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\8e74f029\a85a4f99_886bce01\App_Web_eiao1mok.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\37a17012\004b0f7d_1274cd01\HtmlAgilityPack.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\f5bf00ef\45c7a397_886bce01\App_Web_wuee22aa.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\28a95064\a64c7996_886bce01\App_global.asax.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\3c67cb52\7941839c_886bce01\App_Web_zq2ht400.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\90e3ab5c\002e1cb1_cbfec901\itextsharp.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_lr0yfx54.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\e343e68d\97833996_886bce01\App_Code.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\ca1c830f\0c75e6f2_a554cc01\Ionic.Zip.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\3e239e54\3b4d7223_f256ce01\Stripe.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Linq.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_ljv4pug3.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\e96fe31a\00065075_794ace01\Newtonsoft.Json.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\6a408c6d\7f59f069_52e7cb01\Recaptcha.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_pvygcsxb.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_wvboeqjc.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_lqw5hrch.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\c4fd2949\127acb46_26c4cc01\MvcMiniProfiler.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\5c7c7c52\071eb596_886bce01\App_Web_qwaqzlx5.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\2cedce89\000029cd_10adcc01\AWSSDK.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\903425dc\fca3f3b2_6edbcb01\Intelligencia.UrlRewriter.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\cebe98d1\0058b5b7_1950ca01\MonoTorrent.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Entity\v4.0_4.0.0.0__b77a5c561934e089\System.Web.Entity.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\e619b6f8\0efa6597_886bce01\App_Web_2zxv4kd2.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\93614365\2b304d58_e6f4cb01\BouncyCastle.Crypto.dll" /R:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\a99cb987\005da042_31f9ca01\DynamicJson.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" /R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll" /out:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_arcadegame.aspx.cdcab7d2._xogpp7u.dll" /D:DEBUG /debug+ /optimize- /win32res:"C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\ej0pzgzu.res" /w:4 /nowarn:1659;1699;1701;612;618 /warnaserror- "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_arcadegame.aspx.cdcab7d2._xogpp7u.0.cs" "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_arcadegame.aspx.cdcab7d2._xogpp7u.1.cs"   Microsoft (R) Visual C# Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 Copyright (C) Microsoft Corporation. All rights reserved. c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\App_Web_arcadegame.aspx.cdcab7d2._xogpp7u.0.cs(148,44): error CS0433: The type 'ArcadeGame' exists in both 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\3c67cb52\7941839c_886bce01\App_Web_zq2ht400.DLL' and 'c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\e343e68d\97833996_886bce01\App_Code.DLL' c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\3c67cb52\7941839c_886bce01\App_Web_zq2ht400.DLL: (Location of symbol related to previous error) c:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\c14fdd1b\e3b5f6b7\assembly\dl3\e343e68d\97833996_886bce01\App_Code.DLL: (Location of symbol related to previous error)

  • Super easy... Take a look at the Space Blaster example .capx that is included with Construct 2.

  • I am sorry but I don't understand what it is you want. Do you have an example? From Youtube or something else?

  • Does nothing for me.

  • Hey everyone,

    I have been working with Construct 2 since Christmas. Finally decided to buy a license about a month ago. I went through a lot of the tutorials, made a few small games, let the creative juices flow out. Any how, I feel I am finally ready to make my dream RPG. Project name "Eternal".

    For those of you who are interested. I will be keeping daily logs of everything I work on. How I go about handling different events, adding new systems, graphics, tricks I use and so on. I think it will be a nice way for everyone to see an RPG take form from a few pixels to a final, hopefully well polished, RPG.

    Over the new week, I will be setting up a blog and a few other things for you guys to follow along with. I will be keeping this thread updated as well. So, bookmarks! Do it nao!

    Here I am setting up basic character movements, collisions, tiling, and NPC names.

    <img src="http://img826.imageshack.us/img826/6306/production001.png" border="0" />

  • Yes.

    Basically it would be something like this.

    while SliderBar is in Touch

    set SliderBar.X to Touch.X

    Every Tick set Zoom to SliderBar.X

    You may even want to do every 0.2 seconds or 0.5 instead of every Tick.

    This will give it a more fluid effect and not be all twitchy.

    Where "Zoom" would be the global variable that controls the amount you are zoomed in by. Does that make sense?

    My brain is a little fried. Been sick all week.

  • I tried your winning lotto numbers app twice. I got two completely different sets of numbers. Which one is the 17.3% more accurate?

    I really don't wanna risk my last 10 dollars on the wrong numbers... I really need this money.

    Can you double check the lotto numbers I was given and tell me which one is correct?

    Thank You,

    Stephen

  • Doesn't exist in Construct 2.

    You could create a zoom button. When touched, it would zoom in.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • For these types of issues, I like to just right-click and disable whole chunks of code. Then I know exactly what is causing the performance issues.

  • I did post a reply to this earlier but once again I have insufficient permissions.

    Been moving the server for weeks now, hey?