OddConfection's Recent Forum Activity

  • It's down for me too roguecore

    Tom

    Here is the error message:

    [quote:g2wrjljg]Server Error in '/' Application.

    Cannot perform runtime binding on a null reference

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: Cannot perform runtime binding on a null reference

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [RuntimeBinderException: Cannot perform runtime binding on a null reference]

    CallSite.Target(Closure , CallSite , Object ) +115

    v2.NewStore.CurrencyExchangeRate.GetExchangeRate(String fromCurrencyCode) +3290

    v2.NewStore.Currency.get_ToGBPRate() +54

    v2.NewStore.Currency.AmountFromGBP(Int32 amountCents, Boolean includeMarkup) +226

    v2.NewStore.Currency.SalePriceFromGBP(Int32 amountCents) +52

    v2.NewStore.Item.SalePrice(Currency inCurrency, Boolean exclusive, Boolean applySaleDiscount) +1706

    Controls_NewStore_ListViewItems.DataBoundItem(Object sender, RepeaterItemEventArgs e) +486

    System.Web.UI.WebControls.Repeater.OnItemDataBound(RepeaterItemEventArgs e) +111

    System.Web.UI.WebControls.Repeater.CreateItem(Int32 itemIndex, ListItemType itemType, Boolean dataBind, Object dataItem) +138

    System.Web.UI.WebControls.Repeater.AddDataItemsIntoItemsArray(IEnumerable dataSource, Boolean useDataSource) +217

    System.Web.UI.WebControls.Repeater.PostGetDataAction(IEnumerable dataSource) +71

    System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +220

    System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +62

    System.Web.UI.WebControls.Repeater.DataBind() +77

    Controls_NewStore_ListViewItems.Page_Load(Object sender, EventArgs e) +482

    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51

    System.Web.UI.Control.OnLoad(EventArgs e) +95

    System.Web.UI.Control.LoadRecursive() +59

    System.Web.UI.Control.LoadRecursive() +131

    System.Web.UI.Control.LoadRecursive() +131

    System.Web.UI.Control.LoadRecursive() +131

    System.Web.UI.Control.LoadRecursive() +131

    System.Web.UI.Control.LoadRecursive() +131

    System.Web.UI.Control.LoadRecursive() +131

    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +780

    Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2116.0

  • 25games

    Put all objects in an unused Layout instead of a Layer, then you don't need to hide or delete them, but can still spawn them by script.

  • Aguamoose

    Set Unbounded Scrolling to Yes, and instead of using the Scroll To behaviour, you use your own clamped values.

    System: Scroll to position (clamp(Player.X, BorderThicknessHorz, LayoutWidth - BorderThicknessHorz), clamp(Player.Y, BorderThicknessVert, LayoutHeight - BorderThicknessVert))

    You might need to play around with the values a bit, so as not to show outside the layout or cut off the player sprite, but this should give you the general idea

  • But how do i program this into C2 please?

    I get syntax error when entering '!' unknown character.

    System: Compare two values -> Score%10 is equal to 0

    System: Compare two values -> Score is not equal to 0

  • Mimitone

    Have you looked into Brash Monkey's Spriter?

    https://www.scirra.com/store/game-makin ... ter-pro-78

    https://brashmonkey.com/

    If you use the existing animations, and design your characters by replacing the body parts of the templates/examples, you'll have fully animated characters as quickly as you can draw them.

  • radhaw

    It's my understanding that copyright automatically applies once you've created something, but you might want to put a copyright notice somewhere in your game.

    [quote:1uba0dsy]© 2017, My Company Name, All rights reserved.

    If you want to do something "official" there are various organisations where you can register copyright, just look for the one in your country, but it's not strictly necessary.

    Google is your friend if you need more information, but honestly unless your game is super unique I would't worry about it too much.

  • Baconizer

    I know of at least one other game made with Construct Classic that is on Steam, Tower Climb, so it is possible, but they don't have things like Achievements which means they probably don't use the Steamworks API.

  • OK - if no one can point me towards a tutorial, can you help with the following:

    Each time my game loads I want the system to choose a random variable (called result), either 1 or 2.

    So my event currently looks like:

    System > Every tick > System > Set result to int(random(1,2))

    How's this? Does this look right?

    Every tick is every frame, so you are setting a new value potentially 60 times per second

    If you just want to set it once each time the layout loads, you would be better off with System->On start of layout

    And if you need it set only once per game session, have it initially set to 0 when you declare it and add System->Compare variable result = 0 as an extra condition

  • Pin is probably better.

    If you move to Player position every tick, you have to make sure there is no event after that that might affect the player position otherwise the Force Field won't be in the right place.

  • My question is : how do I detect if the player is playing on a web-browser or in desktop-mode ?

    Maybe System->Is on platform to detect if HTML website or NW.js

  • Congratulations on meeting that milestone!

    It's encouraging news for other C2 developers.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Tom

    Getting an error when going to any page in the forum, not in blog or store though.

    [quote:cv97vpia]Server Error in '/' Application.

    Index was outside the bounds of the array.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

    Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [IndexOutOfRangeException: Index was outside the bounds of the array.]

    System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add) +3342943

    v2.Membership.Cache.UnreadPMS.AddUser(Int32 userID) +429

    v2.Membership.Cache.UnreadPMS.HasUserGotUnreadPMs(Int32 userID) +161

    v2.Membership.LightUser..ctor(Int32 userID) +43

    Controls_Fresh_SiteHeader.Page_Load(Object sender, EventArgs e) +308

    System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51

    System.Web.UI.Control.OnLoad(EventArgs e) +95

    System.Web.UI.Control.LoadRecursive() +59

    System.Web.UI.Control.LoadRecursive() +131

    System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678

OddConfection's avatar

OddConfection

Member since 26 Jun, 2012

None one is following OddConfection yet!

Trophy Case

  • 12-Year Club
  • Coach One of your tutorials has over 1,000 readers
  • Email Verified

Progress

14/44
How to earn trophies