摘要: Python学习教程(Python学习路线_Python学习视频)分支结构的应用场景 迄今为止,我们写的Python代码都是一条一条语句顺序执行,这种结构的代码我们称之为顺序结构。然而仅有顺序结构并不能解决所有的问题,比如我们设计一个游戏,游戏第一关的通关条件是玩家获得1000分,那么在完成本局游戏 阅读全文
posted @ 2019-07-31 18:00 李艳艳665 阅读(246) 评论(0) 推荐(0) 编辑
摘要: function svgPathCurv(a,b,curv) { /* * 弯曲函数. * a:a点的坐标{x:10,y:10} * b:b点的坐标{x:10,y:20} * curv:弯曲程度 取值 -5 到 5 */ curv = curv ? curv : 0; var s, k2, cont 阅读全文
posted @ 2019-07-31 17:59 李艳艳665 阅读(878) 评论(0) 推荐(0) 编辑
摘要: using DG.Tweening;using UnityEngine; public class FollowTrackingCamera : MonoBehaviour{ public static FollowTrackingCamera _Instance; // Camera target 阅读全文
posted @ 2019-07-31 17:58 李艳艳665 阅读(566) 评论(0) 推荐(0) 编辑
摘要: mouseInput = scaleFactor; heightWanted -= zoomStep * mouseInput; distanceWanted -= zoomStep * mouseInput; } // Record our mouse input. If we zoom add 阅读全文
posted @ 2019-07-31 17:57 李艳艳665 阅读(157) 评论(0) 推荐(0) 编辑
摘要: import javafx.application.Application;import javafx.collections.FXCollections;import javafx.collections.ObservableList;import javafx.event.EventHandle 阅读全文
posted @ 2019-07-31 17:56 李艳艳665 阅读(107) 评论(0) 推荐(0) 编辑
摘要: import javafx.application.Application;import javafx.geometry.NodeOrientation;import javafx.geometry.Side;import javafx.scene.Scene;import javafx.scene 阅读全文
posted @ 2019-07-31 17:53 李艳艳665 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 代码演示: using System.Collections;using System.Collections.Generic;using UnityEngine; public class FindObjectOfType : MonoBehaviour { private GameObject[ 阅读全文
posted @ 2019-07-31 17:52 李艳艳665 阅读(723) 评论(0) 推荐(0) 编辑
摘要: 代码演示: using System.Collections;using System.Collections.Generic;using UnityEngine; public class TagFind : MonoBehaviour { private GameObject thing; pr 阅读全文
posted @ 2019-07-31 17:51 李艳艳665 阅读(2127) 评论(0) 推荐(1) 编辑
摘要: 步骤1. 我们可先配置application.properties的Freemarker基本配置,可参考第一篇教程【Spring Boot从入门到进阶教程系列 -- 外部Tomcat多方式启动,加密解密配置数据】 核心配置 ###################################### 阅读全文
posted @ 2019-07-28 04:53 李艳艳665 阅读(265) 评论(0) 推荐(0) 编辑
摘要: 1.该demo功能http://localhost/system/login展示后台发布新闻列表http://localhost/前端Freemark模板展示中间用到了Mysql, Mybatis, druid;可以参考spring-boot相关的demo 2.Pom依赖 <dependency> 阅读全文
posted @ 2019-07-28 04:52 李艳艳665 阅读(338) 评论(0) 推荐(0) 编辑